Re: [PATCH 2/2] gpio / ACPI: Use local variable instead of ACPI_HANDLE()

2015-03-17 Thread Linus Walleij
On Tue, Mar 10, 2015 at 11:10 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In acpi_gpiochip_request_interrupts() the handle local > variable already contains the value that we want to pass > to acpi_walk_resources(), so it is better to use that > variable instead of evaluating ACPI

Re: [PATCH 2/2] gpio / ACPI: Use local variable instead of ACPI_HANDLE()

2015-03-11 Thread Mika Westerberg
On Tue, Mar 10, 2015 at 11:10:01PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In acpi_gpiochip_request_interrupts() the handle local > variable already contains the value that we want to pass > to acpi_walk_resources(), so it is better to use that > variable instead of evaluati

[PATCH 2/2] gpio / ACPI: Use local variable instead of ACPI_HANDLE()

2015-03-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In acpi_gpiochip_request_interrupts() the handle local variable already contains the value that we want to pass to acpi_walk_resources(), so it is better to use that variable instead of evaluating ACPI_HANDLE() once more for the same device. Signed-off-by: Rafael J. Wysoc