]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpiolib: acpi: make fwnode take precedence in struct gpio_chip
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Dec 2021 10:38:08 +0000 (12:38 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Mon, 3 Jan 2022 10:06:15 +0000 (11:06 +0100)
commit4a08d63c243ae8525c40016ce57b50df515fafaf
treef2f7eb47f6950bd3e031b4c94095568160a3a5d6
parent0f7b1d1a5998c469347b0c13ef929cd8b5c71166
gpiolib: acpi: make fwnode take precedence in struct gpio_chip

If the driver sets the fwnode in struct gpio_chip, let it take
precedence over the parent's fwnode.

This is a follow up to the commit 9126a738edc1 ("gpiolib: of: make
fwnode take precedence in struct gpio_chip").

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpiolib-acpi.c