gpiolib: acpi: Use METHOD_NAME__AEI macro for acpi_walk_resources
PATCH 1/1 gpiolib: acpi: Use METHOD_NAME__AEI macro for acpi_walk_resources
Using the METHOD_NAME__AEI macro instead of using "_AEI" directly.
--- drivers/gpio/gpiolib-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpiolib-acpi.c +1 -1
@@ -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);
Signature · 1 line
2.22.0
Quoted 13 lines · Xiang Yang
Using the
METHOD_NAME__AEImacro instead of using "_AEI" directly.Signed-off-by Xiang Yang <[email protected]>--- drivers/gpio/gpiolib-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpio/gpiolib-acpi.c +0
-0
drivers/gpio/gpiolib-acpi.c void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) · line 516
Quoted 6 lines
drivers/gpio/gpiolib-acpi.c +1
-1@@ -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);
This line dates back to 2018 so why -next in your PATCH tag?
That being said - patch applied (unless Andy wants to take it directly).
Bart
Quoted 5 lines
drivers/gpio/gpiolib-acpi.c +0
-1mutex_lock (&acpi_gpio_deferred_req_irqs_lock); --2.22.0
Quoted 17 lines · Bartosz Golaszewski
Quoted 16 lines · Xiang Yang
Using the
METHOD_NAME__AEImacro instead of using "_AEI" directly.Signed-off-by Xiang Yang <[email protected]>--- drivers/gpio/gpiolib-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpio/gpiolib-acpi.c +0
-0@@ -512,7 +512,7 @@ void acpi_gpiochip_request_interrupts(struct gpio_chip *chip)if (ACPI_FAILURE (status))return ;
Quoted 5 lines
drivers/gpio/gpiolib-acpi.c void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) · line 516
Quoted 3 lines
drivers/gpio/gpiolib-acpi.c +1
-1-acpi_walk_resources (handle,"_AEI" , +acpi_walk_resources (handle,METHOD_NAME__AEI , acpi_gpiochip_alloc_event, acpi_gpio);This line dates back to 2018 so why -next in your PATCH tag?
This means "for Linux next cycle". It has roots in the net subsystem where it's a requirement to mark each patch either net or net-next, because they have a huge traffic of patches.
Quoted 1 line
That being said - patch applied (unless Andy wants to take it directly).
I think I will take it. Care to provide your tag?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 25 lines · Andy Shevchenko
Quoted 17 lines · Bartosz Golaszewski
Quoted 16 lines · Xiang Yang
Using the
METHOD_NAME__AEImacro instead of using "_AEI" directly.Signed-off-by Xiang Yang <[email protected]>--- drivers/gpio/gpiolib-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpio/gpiolib-acpi.c +0
-0@@ -512,7 +512,7 @@ void acpi_gpiochip_request_interrupts(struct gpio_chip *chip)if (ACPI_FAILURE (status))return ;Quoted 5 lines
drivers/gpio/gpiolib-acpi.c void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) · line 516
Quoted 3 lines
drivers/gpio/gpiolib-acpi.c +1
-1-acpi_walk_resources (handle,"_AEI" , +acpi_walk_resources (handle,METHOD_NAME__AEI , acpi_gpiochip_alloc_event, acpi_gpio);This line dates back to 2018 so why -next in your PATCH tag?
Quoted 8 lines
This means "for Linux next cycle". It has roots in the net subsystem where it's a requirement to mark each patch either net or net-next, because they have a huge traffic of patches.
Quoted 1 line
That being said - patch applied (unless Andy wants to take it directly).
I think I will take it. Care to provide your tag?
Just take it, I will back it out.
Bartosz
Quoted 3 lines · Bartosz Golaszewski
Quoted 1 line · Andy Shevchenko
On Thu, Oct 20, 2022 at 03:23:27PM +0200, Bartosz Golaszewski wrote:
...
Quoted 3 lines
Quoted 1 line
I think I will take it. Care to provide your tag?
Just take it, I will back it out.
Pushed to my review and testing queue, thanks!
Signature · 2 lines
With Best Regards, Andy Shevchenko