[RFC Patch v1 08/13] ACPI, TPM: replace open-coded _DSM specific code with helper functions

2013-12-17 Thread Jiang Liu
Use helper functions to simplify _DSM related code in TPM driver. Signed-off-by: Jiang Liu --- drivers/char/tpm/tpm_ppi.c | 404 1 file changed, 145 insertions(+), 259 deletions(-) diff --git a/drivers/char/tpm/tpm_ppi.c

[RFC Patch v1 08/13] ACPI, TPM: replace open-coded _DSM specific code with helper functions

2013-12-17 Thread Jiang Liu
Use helper functions to simplify _DSM related code in TPM driver. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/char/tpm/tpm_ppi.c | 404 1 file changed, 145 insertions(+), 259 deletions(-) diff --git a/drivers/char/tpm/tpm_ppi.c