From: Jarkko Sakkinen Date: Fri, 12 Dec 2014 19:46:33 +0000 (-0800) Subject: tpm: merge duplicate transmit_cmd() functions X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~113^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87155b7311bfec75b590b823b11f77adf2a16412;p=pandora-kernel.git tpm: merge duplicate transmit_cmd() functions Merged transmit_cmd() functions in tpm-interface.c and tpm-sysfs.c. Added "tpm_" prefix for consistency sake. Changed cmd parameter as opaque. This enables to use separate command structures for TPM1 and TPM2 commands in future. Loose coupling works fine here. Signed-off-by: Jarkko Sakkinen Reviewed-by: Jasob Gunthorpe Reviewed-by: Stefan Berger Reviewed-by: Peter Huewe Tested-by: Scot Doyle Tested-by: Peter Huewe Signed-off-by: Peter Huewe --- Reading git-diff-tree failed