gpiolib-acpi: convert acpi_evaluate_object() to acpi_execute_simple_method()
authorZhang Rui <rui.zhang@intel.com>
Tue, 3 Sep 2013 00:31:50 +0000 (08:31 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Sep 2013 12:53:57 +0000 (14:53 +0200)
commit524c10818c32ed343d5d8af49c04589ab21e64d4
tree130b3cef4ec747036a55596786c75698a4c934ae
parent21fd3cd1874a2ac85990b981a8ab449e9e4ef5b9
gpiolib-acpi: convert acpi_evaluate_object() to acpi_execute_simple_method()

acpi_execute_simple_method() is a new ACPI API introduced to invoke
an ACPI control method that has single integer parameter and no return value.

Convert acpi_evaluate_object() to acpi_execute_simple_method()
in drivers/gpio/gpiolib-acpi.c

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c