tpm: tpm_tis_i2c: Merge struct tpm into tpm_chip
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:26 +0000 (18:31 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:27 +0000 (07:57 -0600)
commit605152a80371c494b1735f6ef8d296e141b1eadf
tree88ebccd79c2608bc4e8916467b302d85b15f2614
parent13932b09bb19898a5c64bf7a48448855200c63f5
tpm: tpm_tis_i2c: Merge struct tpm into tpm_chip

There are too many structures storing the same sort of information. Move the
fields from struct tpm into struct tpm_chip and remove the former struct.

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