tpm: tpm_tis_i2c: Merge struct tpm_dev into tpm_chip
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:25 +0000 (18:31 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:16 +0000 (12:19 +0200)
commitfa45fa1ace7c55ea4733d4a74ab905a523abd2a8
tree02fb5fa31cc2cc86d411c3e7eccf8ffff563cf73
parent0bd7f0d5d13412993a7b13bf3991121acbcf8ca7
tpm: tpm_tis_i2c: Merge struct tpm_dev into tpm_chip

There are too many structures storing the same sort of information. Move the
fields from struct tpm_dev 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