]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d97af249d7f6770f71ae316e2e71a886fb20d79
treef9b6be6937c13c8494ba5263cb0f5b1ab8fc503e
parent22c750ffcbd2174f4a7d33fb063dfa08e705cb5a
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