tpm: drop tpm_atmel specific fields from tpm_vendor_specific
commit23d06ff700f546a6a1d63c85ade095dbd75b7ab5
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 23 Mar 2016 05:10:22 +0000 (23 07:10 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (25 17:26 +0300)
tree6aa1dc563be252b0e536944978f559ef984ba493
parentec5fd99d3677efe5eebef3960168a1f9889322b9
tpm: drop tpm_atmel specific fields from tpm_vendor_specific

Introduced a private struct tpm_atmel_priv that contains the variables
have_region and region_size that were previously located in struct
tpm_vendor_specific. These fields were only used by tpm_atmel.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_atmel.c
drivers/char/tpm/tpm_atmel.h