]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tpm: tpm_tis_i2c: Simplify init code
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:28 +0000 (18:31 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:17 +0000 (12:19 +0200)
commitb99eeba37a1c4eceb22458c68b36abe1fa6c0e5f
treea17f77fe3064c81e968793ed14316c6378672cd7
parentb8a58e89c2140657dcb96712b8e6f048973526eb
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