]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: drop tpm_atmel specific fields from tpm_vendor_specific
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 23 Mar 2016 05:10:22 +0000 (07:10 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (17:26 +0300)
commitc1fb5b964b19da4587b1eaf3a63e90c3d180bfd9
tree6aa1dc563be252b0e536944978f559ef984ba493
parenta099dee9ffa81ae12f8b20ae61d975479a05ff27
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