summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-acpi.c
diff options
context:
space:
mode:
authorXiang Yang <xiangyang3@huawei.com>2022-10-20 04:44:26 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-25 19:47:12 +0300
commiteac001bf4a5b7d857ec228cd18b4e3644a5ceeb9 (patch)
tree51f496aedbff1566fbcf5232f036aec8784a5530 /drivers/gpio/gpiolib-acpi.c
parentce3a0a29fb9f36d1cd221fffa64a3c405308868f (diff)
downloadlinux-eac001bf4a5b7d857ec228cd18b4e3644a5ceeb9.tar.xz
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/gpiolib-acpi.c')
-rw-r--r--drivers/gpio/gpiolib-acpi.c2
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);