summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorRafael J. Wysocki2015-03-10 23:10:01 +0100
committerLinus Walleij2015-03-19 09:46:04 +0100
commit1ecb016e18149a1ea3de7dfd98f60b4b03e5e855 (patch)
treed48a87a8a9ec43c4872498c66b056460e4ce5394 /drivers/gpio/Kconfig
parentgpio / ACPI: Avoid unnecessary checks in __gpiod_get_index() (diff)
downloadkernel-qcow2-linux-1ecb016e18149a1ea3de7dfd98f60b4b03e5e855.tar.gz
kernel-qcow2-linux-1ecb016e18149a1ea3de7dfd98f60b4b03e5e855.tar.xz
kernel-qcow2-linux-1ecb016e18149a1ea3de7dfd98f60b4b03e5e855.zip
gpio / ACPI: Use local variable instead of ACPI_HANDLE()
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>
Diffstat (limited to 'drivers/gpio/Kconfig')
0 files changed, 0 insertions, 0 deletions