summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel-rst.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2013-09-03 08:32:12 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-24 01:37:57 +0200
commit29c29a9bb4d5abdb92480375e42e48a9190306e8 (patch)
tree2ea2316461e22020a1c13112ffd1958112be1a1a /drivers/platform/x86/intel-rst.c
parent74da276028966f333acc97b59292f928c16c1709 (diff)
downloadblackbird-op-linux-29c29a9bb4d5abdb92480375e42e48a9190306e8.tar.gz
blackbird-op-linux-29c29a9bb4d5abdb92480375e42e48a9190306e8.zip
fujitsu-laptop: 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/fujitsu-laptop.c in this patch. Signed-off-by: Zhang Rui <rui.zhang@intel.com> CC: Matthew Garrett <matthew.garrett@nebula.com> Acked-by: Jonathan Woithe <jwoithe@just42.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform/x86/intel-rst.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud