tpm: factor out tpm 1.x pm suspend flow into tpm1-cmd.c
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 19 Oct 2018 18:22:57 +0000 (21:22 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 13 Nov 2018 11:46:30 +0000 (13:46 +0200)
commitc82a330ceceda28304e37bab35128fa0c9c7f172
tree06fc2ccec1560d0b8840d7a28b6c951b9225a84f
parentd4a317563207163ddcf677e5965ffc56ef073514
tpm: factor out tpm 1.x pm suspend flow into tpm1-cmd.c

Factor out TPM 1.x suspend flow from tpm-interface.c into a new function
tpm1_pm_suspend() in tpm1-cmd.c

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm-interface.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm1-cmd.c