eeepc-laptop: convert acpi_evaluate_object() to acpi_execute_simple_method()
authorZhang Rui <rui.zhang@intel.com>
Tue, 3 Sep 2013 00:31:51 +0000 (08:31 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 23 Sep 2013 23:37:54 +0000 (01:37 +0200)
commitfca41991296444ebab32c0fc9850c62d838082f2
tree7998cdd7249863ac9a9ddfcaac91116fe8f9312b
parent5e8ac96f2969aa7b73f630259ce7f5e40e2f8edd
eeepc-laptop: 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/platform/x86/eeepc-laptop.c

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
CC: Matthew Garrett <matthew.garrett@nebula.com>
CC: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/platform/x86/eeepc-laptop.c