]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tpm: tpm_tis_i2c: Drop unnecessary methods
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:23 +0000 (18:31 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:16 +0000 (12:19 +0200)
commitba651e1ab9a6079a444a54aac7f6ca08667199d0
treee0f9dbdd9804de5813a857cc5bf8bf30320404de
parentffcdbd85b18e0e34ce296a4bfa90ec441e9db6c8
tpm: tpm_tis_i2c: Drop unnecessary methods

The function methods in struct tpm_vendor_specific just call local functions.
Change the code to use a direct call.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/tpm/tpm_tis_i2c.c
drivers/tpm/tpm_tis_i2c.h