From: Jiang Liu Date: Thu, 19 Dec 2013 12:38:17 +0000 (+0800) Subject: ACPI / TPM: replace open-coded _DSM code with helper functions X-Git-Tag: v3.14-rc1~107^2~9^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b1667dea233d2af29b5138bfd2d70417cfa720;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed