Re: [PATCH v2 2/5] extcon: Get rid of not really used name field in struct extcon_dev

From: Andy Shevchenko
Date: Tue Apr 11 2023 - 07:43:12 EST


On Fri, Apr 07, 2023 at 04:26:35AM +0900, Chanwoo Choi wrote:
> On 23. 4. 6. 00:27, Andy Shevchenko wrote:

...

> > - if (IS_ERR_OR_NULL(edev->name)) {
> > - dev_err(&edev->dev,
> > - "extcon device name is null\n");
> > - return -EINVAL;
> > - }

JFYI: this is a dead code in case you want to clean it up.
Since the patch is NAKed, I'm not going to split it. Hence
just for your information.

--
With Best Regards,
Andy Shevchenko