diff options
author | Xiang Yang <xiangyang3@huawei.com> | 2022-10-20 03:44:26 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-25 18:47:12 +0200 |
commit | eac001bf4a5b7d857ec228cd18b4e3644a5ceeb9 (patch) | |
tree | 51f496aedbff1566fbcf5232f036aec8784a5530 /drivers/gpio | |
parent | gpio: merrifield: Use str_enable_disable() helper (diff) | |
download | linux-eac001bf4a5b7d857ec228cd18b4e3644a5ceeb9.tar.xz linux-eac001bf4a5b7d857ec228cd18b4e3644a5ceeb9.zip |
gpiolib: acpi: Use METHOD_NAME__AEI macro for acpi_walk_resources
Using the METHOD_NAME__AEI macro instead of using "_AEI" directly.
Signed-off-by: Xiang Yang <xiangyang3@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c index a7d2358736fe..064ba5150fd4 100644 --- a/drivers/gpio/gpiolib-acpi.c +++ b/drivers/gpio/gpiolib-acpi.c @@ -512,7 +512,7 @@ void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) if (ACPI_FAILURE(status)) return; - acpi_walk_resources(handle, "_AEI", + acpi_walk_resources(handle, METHOD_NAME__AEI, acpi_gpiochip_alloc_event, acpi_gpio); mutex_lock(&acpi_gpio_deferred_req_irqs_lock); |