tpm: use tpm_transmit_cmd() in tpm2_probe()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 17 Jun 2016 08:20:14 +0000 (10:20 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 15 Sep 2016 13:04:21 +0000 (16:04 +0300)
commitae7e190a3e3498551a1e222eaa84c0ec7e5b41c7
tree0012be65a98b0187d142bd1c81958c33c5b347c2
parenteb5854e764b91a71106f159a4ac264ffed1eebf2
tpm: use tpm_transmit_cmd() in tpm2_probe()

It is better to tpm_transmit_cmd() in tpm2_probe() in order to get
consistent command handling throughout the subsystem.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
drivers/char/tpm/tpm2-cmd.c