OSDN Git Service

gpio: Propagate firmware node from a parent device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Dec 2021 13:18:52 +0000 (15:18 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Fri, 17 Dec 2021 16:50:46 +0000 (17:50 +0100)
commit6dbe6c07f94f349098b512d88a1e1c5e2312b13d
treef9b6be6937c13c8494ba5263cb0f5b1ab8fc503e
parent45a541a610af8156ee623b5906515796405ae9f5
gpio: Propagate firmware node from a parent device

When creating MFD platform devices the firmware node is left unset.
This, in particular, prevents GPIO library to use it for different
purposes. Propagate firmware node from the parent device and let
GPIO library do the right thing.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-arizona.c
drivers/gpio/gpio-tps6586x.c
drivers/gpio/gpio-tps65910.c
drivers/gpio/gpio-twl6040.c
drivers/gpio/gpio-wm831x.c