]> git.openfabrics.org - ~emulex/infiniband.git/commit
ACPI / TPM: replace open-coded _DSM code with helper functions
authorJiang Liu <jiang.liu@linux.intel.com>
Thu, 19 Dec 2013 12:38:17 +0000 (20:38 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 5 Jan 2014 15:07:14 +0000 (16:07 +0100)
commit84b1667dea233d2af29b5138bfd2d70417cfa720
tree123a113cca77549852d92832a85a68f6f7f0957f
parent529139c9736ac71040e589c32ba87d35cc8cbf8f
ACPI / TPM: replace open-coded _DSM code with helper functions

Use helper functions to simplify _DSM related code in TPM driver.

This patch also help to get rid of following warning messages:
[  163.509575] ACPI Error: Incorrect return type [Buffer] requested [Package]
(20130517/nsxfeval-135)

But there is still an warning left.
[  181.637366] ACPI Warning: \_SB_.IIO0.LPC0.TPM_._DSM: Argument #4 type
mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/char/tpm/tpm_ppi.c