gpiolib: acpi: Extract __acpi_find_gpio() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 11 Apr 2024 17:22:29 +0000 (20:22 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 Apr 2024 13:12:18 +0000 (16:12 +0300)
commit4fa4c499af53c9338a790798ca44534866b7708c
treee31e32240440adb904ebefd5e492be11311e28d8
parent2d485d47560eeb6e73f6db10c99f1dab2fa6e08f
gpiolib: acpi: Extract __acpi_find_gpio() helper

We want to reuse it later on in the code. In particular, it helps
to clean up the users of acpi_dev_gpio_irq_wake_get_by().

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi.c