Home
last modified time | relevance | path

Searched hist:"74 facaf75d3de2dd81193d907d0bee050c259f0c" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/platform/x86/
H A Dtoshiba_acpi.cdiff 74facaf75d3de2dd81193d907d0bee050c259f0c Tue Sep 03 02:32:15 CEST 2013 Zhang Rui <rui.zhang@intel.com> 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>