gpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Jul 2023 14:23:07 +0000 (17:23 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 10 Jul 2023 09:26:13 +0000 (11:26 +0200)
commit067dbc1ea5ce61ba174d0c5f2e375defe4d562e6
tree439efe2bfa4d885870a2d6579b8c2035f1077505
parent59a4a3512c94c2e59757cd9119fcf4faf53fe198
gpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find()

GPIO library should rely only on the GPIO device's fwnode.
Hence, replace GPIO chip fwnode usage by respective handle
of the GPIO device.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Benjamin Tissoires <bentiss@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-acpi.c