gpio / ACPI: Use local variable instead of ACPI_HANDLE()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Mar 2015 22:10:01 +0000 (23:10 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Mar 2015 08:46:04 +0000 (09:46 +0100)
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. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found