pinctrl: nomadik: Setup parent device and get rid of unnecessary of_node assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 May 2022 15:13:10 +0000 (18:13 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 May 2022 22:08:06 +0000 (00:08 +0200)
commitf4f1739a09dc7bcac3c6471cf3f82443934c3608
tree6a0f29e503dad13f7079ad5df11a9c92e2406486
parent3389b09878dddd58ef52bd0bf43cc42ea5a9ea2a
pinctrl: nomadik: Setup parent device and get rid of unnecessary of_node assignment

Some of the drivers do not set parent device. This may lead to obstacles
during debugging or understanding the device relations from the Linux
point of view. Assign parent device for GPIO chips created by these
drivers.

While at it, let GPIO library to assign of_node from the parent device.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220503151310.58762-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nomadik/pinctrl-nomadik.c