Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific

2016-03-24 Thread Jarkko Sakkinen
On Wed, Mar 23, 2016 at 10:45:42AM -0600, Jason Gunthorpe wrote: > On Wed, Mar 23, 2016 at 08:16:09AM +0200, Jarkko Sakkinen wrote: > > Dropped the field 'base' from struct tpm_vendor_specific and migrated > > it to the private structures of tpm_atmel and tpm_nsc. > > > > Signed-off-by: Jarkko Sak

Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific

2016-03-23 Thread Jason Gunthorpe
On Wed, Mar 23, 2016 at 08:16:09AM +0200, Jarkko Sakkinen wrote: > Dropped the field 'base' from struct tpm_vendor_specific and migrated > it to the private structures of tpm_atmel and tpm_nsc. > > Signed-off-by: Jarkko Sakkinen > +#define atmel_get_priv(chip) ((struct tpm_atmel_priv *) chip->

Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific

2016-03-22 Thread Jarkko Sakkinen
On Wed, Mar 23, 2016 at 08:16:09AM +0200, Jarkko Sakkinen wrote: > Dropped the field 'base' from struct tpm_vendor_specific and migrated > it to the private structures of tpm_atmel and tpm_nsc. > > Signed-off-by: Jarkko Sakkinen Ugh, forgot the final step: removing the field from the struct. Oth

[PATCH] tpm: drop 'base' from struct tpm_vendor_specific

2016-03-22 Thread Jarkko Sakkinen
Dropped the field 'base' from struct tpm_vendor_specific and migrated it to the private structures of tpm_atmel and tpm_nsc. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_atmel.c | 6 ++--- drivers/char/tpm/tpm_atmel.h | 7 -- drivers/char/tpm/tpm_nsc.c | 57 +++