[PATCH v2 1/2] pinctrl: Get rid of duplicate of_node assignment in the drivers

Linus Walleij linus.walleij at linaro.org
Wed Dec 15 19:19:08 PST 2021


On Tue, Dec 14, 2021 at 1:59 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>
> ---
> v2: no changes

Applied this patch 1/2 of the v2 patch set!

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list