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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:16 +0000 (12:19 +0200)
commit24b11ff594cba6f75eef0a2b921affa2ebf3bc69
tree7263e7c7ee8f03205f6be04fe0813d3a0d6292ec
parentfa45fa1ace7c55ea4733d4a74ab905a523abd2a8
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