Re: [U-Boot] [PATCH 10/25] tpm: tpm_tis_i2c: Merge struct tpm into tpm_chip

2015-08-11 Thread christophe.ricard
Hi Simon, I almost agree with this one. Except that here tis_init, tis_open... are already merged into tpm_tis_i2c... Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: There are too many structures storing the same sort of information. Move the fields from struct tpm into struct

[U-Boot] [PATCH 10/25] tpm: tpm_tis_i2c: Merge struct tpm into tpm_chip

2015-08-11 Thread Simon Glass
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 --- drivers/tpm/tpm_tis_i2c.c | 24 +--- drivers/tpm/tpm_tis_i2c.h | 1 + 2 files changed, 10 in