diff options
author | Zhang Rui <rui.zhang@intel.com> | 2013-09-02 20:32:15 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-23 19:37:57 -0400 |
commit | 74facaf75d3de2dd81193d907d0bee050c259f0c (patch) | |
tree | 683d43bb5af14f4e886645cc8610dcf6a8a69898 /drivers/platform/Kconfig | |
parent | 4a2d6f6637d59bafa8be5cd4c323684224422ef1 (diff) |
toshiba_acpi: convert acpi_evaluate_object() to acpi_evaluate_integer()
acpi_evaluate_integer() is an ACPI API introduced to evaluate an
ACPI control method that is known to have an integer return value.
This API can simplify the code because the calling function does not need to
use the specified acpi_buffer structure required by acpi_evaluate_object();
Convert acpi_evaluate_object() to acpi_evaluate_integer()
in drivers/platform/x86/toshiba_acpi.c in this patch.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
CC: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform/Kconfig')
0 files changed, 0 insertions, 0 deletions