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:11 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-24 01:37:57 +0200
commit74da276028966f333acc97b59292f928c16c1709 (patch)
tree4d0fea1d48213218b2427199b465f6788a68a3b2 /drivers/platform/x86/intel-rst.c
parent6a868e171c3800442f59b74ec1e0eaf7d858eb58 (diff)
downloadblackbird-op-linux-74da276028966f333acc97b59292f928c16c1709.tar.gz
blackbird-op-linux-74da276028966f333acc97b59292f928c16c1709.zip
i2c-hid: 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/hid/i2c-hid/i2c-hid.c in this patch. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Jiri Kosina <jkosina@suse.cz> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> 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