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

From: Pavel Machek
Date: Fri Dec 03 2021 - 02:31:34 EST


Hi!

> GPIO library does copy the of_node from the parent device of
> the GPIO chip, there is no need to repeat this in the individual
> drivers. Remove assignment here.
>
> 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?

Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: Digital signature