diff options
author | Zhang Rui | 2013-09-03 08:32:14 +0800 |
---|---|---|
committer | Rafael J. Wysocki | 2013-09-24 01:37:57 +0200 |
commit | 4a2d6f6637d59bafa8be5cd4c323684224422ef1 (patch) | |
tree | eabfb1a7532a113df6e2815f0b232ca44d6bbb22 /drivers/spi | |
parent | c7c878a41d8b087f292015d4afeb2950a5d28830 (diff) |
intel-smartconnect: 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/intel-smartconnect.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/spi')
0 files changed, 0 insertions, 0 deletions