From: Zhang Rui Date: Tue, 3 Sep 2013 00:32:11 +0000 (+0800) Subject: i2c-hid: convert acpi_evaluate_object() to acpi_evaluate_integer() X-Git-Tag: v3.13-rc1~96^2~28^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74da276028966f333acc97b59292f928c16c1709;p=pandora-kernel.git 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 Acked-by: Jiri Kosina Acked-by: Benjamin Tissoires Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed