[PATCH v1 1/3] gpio: Get rid of duplicate of_node assignment in the drivers
Bartosz Golaszewski
brgl at bgdev.pl
Mon Dec 13 05:50:57 PST 2021
On Thu, Dec 2, 2021 at 10:17 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> 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 these assignment all at once.
>
> For the details one may look into the of_gpio_dev_init() implementation.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
If there are no objections, I am willing to apply this to give it some
time in next and get the work on dropping the OF APIs from gpiolib
going.
Bart
More information about the linux-arm-kernel
mailing list