tpm: Use the new API on tpm2 spi driver
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 9 Nov 2021 07:02:19 +0000 (09:02 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 10 Nov 2021 19:57:54 +0000 (20:57 +0100)
commita5c30c26b28c601a7451ac93b5c5b16c0472d89d
tree54cd9f0aaedea50f2d2a7310cb532e35b8351fe4
parente0ff3489974415873426188c71c613d2d28de6e3
tpm: Use the new API on tpm2 spi driver

Convert our SPI TPM driver and use the newly added API

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tpm/Makefile
drivers/tpm/tpm2_tis_spi.c