Skip to content

Commit eac001b

Browse files
Xiang Yangandy-shev
authored andcommitted
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 <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent ce3a0a2 commit eac001b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib-acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ void acpi_gpiochip_request_interrupts(struct gpio_chip *chip)
512512
if (ACPI_FAILURE(status))
513513
return;
514514

515-
acpi_walk_resources(handle, "_AEI",
515+
acpi_walk_resources(handle, METHOD_NAME__AEI,
516516
acpi_gpiochip_alloc_event, acpi_gpio);
517517

518518
mutex_lock(&acpi_gpio_deferred_req_irqs_lock);

0 commit comments

Comments
 (0)