Re: [PATCH v1 1/1] leds: tca6507: Get rid of duplicate of_node assignment

From: Andy Shevchenko
Date: Fri Dec 10 2021 - 08:25:01 EST


On Fri, Dec 03, 2021 at 02:18:42PM +0200, Andy Shevchenko wrote:
> On Fri, Dec 03, 2021 at 08:31:21AM +0100, Pavel Machek wrote:

...

> > > For the details one may look into the of_gpio_dev_init()
> > > implementation.
> >
> > So... where do you see of_gpio_dev_init called in this particular
> > case?
>
> Inside GPIO library as stated in the commit message.
>
> --> tca6507_probe_gpios()
> --> gpiochip_add_data()
> --> gpiochip_add_data_with_key()
> --> of_gpio_dev_init()

Pavel, do you have any other concerns? Can this be applied?

--
With Best Regards,
Andy Shevchenko