]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: migrate tpm2_probe() to use struct tpm_buf
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 26 Mar 2018 12:14:04 +0000 (15:14 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 28 Jul 2018 14:03:11 +0000 (17:03 +0300)
commitf9876432e2aeb570f514ccf61c0c714962ca3673
treebfd3b2ec8b7aa94bf5c70048c4c7a67b08f9c9bd
parent590fd620366db044055c6d4061d6973c73cbe89e
tpm: migrate tpm2_probe() to use struct tpm_buf

In order to make struct tpm_buf the first class object for constructing TPM
commands, migrate tpm2_probe() to use it.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Jay Freyensee <why2jjj.linux@gmail.com>
Reviewed-by: Nayna Jain <nayna@linux.vnet.ibm.com>
Tested-by: Nayna Jain <nayna@linux.vnet.ibm.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
drivers/char/tpm/tpm2-cmd.c