]> git.sur5r.net Git - u-boot/commit
tpm: tpm_tis_i2c: Simplify init code
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:28 +0000 (18:31 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:28 +0000 (07:57 -0600)
commita53b79a25502b78d6e8b00b90f0fde14c9ccb20d
tree7f4f4dfa7bbaddeae2c64ffe116605277515b995
parent13894bdba4a4b1a5c073ac8a109805c99abe0979
tpm: tpm_tis_i2c: Simplify init code

Move all the init and uninit code into one place.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Christophe Ricard<christophe-h.ricard@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/tpm/tpm_tis_i2c.c