[PATCH v2 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-03-05 Thread Jarkko Sakkinen
In order to make struct tpm_buf the first class object for constructing TPM commands, migrate tpm2_shutdown() to use it. In addition, removed the klog entry when tpm_transmit_cmd() fails because tpm_tansmit_cmd() already prints an error message. Signed-off-by: Jarkko Sakkinen

[PATCH v2 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-03-05 Thread Jarkko Sakkinen
In order to make struct tpm_buf the first class object for constructing TPM commands, migrate tpm2_shutdown() to use it. In addition, removed the klog entry when tpm_transmit_cmd() fails because tpm_tansmit_cmd() already prints an error message. Signed-off-by: Jarkko Sakkinen ---