summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm_atmel.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2018-10-19 21:22:54 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-11-13 14:46:30 +0300
commitf4d916b72feafd70967994f4f5a5d7f371a77ba0 (patch)
tree0ecba25e21666e504d06c627d5a3b82cc4b2f005 /drivers/char/tpm/tpm_atmel.h
parent1ad6640cd61422536968dfe7fe9a32b1840fc2d9 (diff)
downloadlinux-f4d916b72feafd70967994f4f5a5d7f371a77ba0.tar.xz
tpm: move tpm_getcap to tpm1-cmd.c
1. Move tpm_getcap to tpm1-cmd. Rename the function to tpm1_getcap. 2. Remove unused tpm_getcap_header with unused constant as this functionality is already implemented using tpm_buf construct. Fixes warning: drivers/char/tpm/tpm-interface.c:452:38: warning: ‘tpm_getcap_header’ defined but not used [-Wunused-const-variable=] static const struct tpm_input_header tpm_getcap_header = { ^~~~~~~~~~~~~~~~~ 3. Drop unused TPM_DIGEST_SIZE. It's already defined in include/linux/tpm.h Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/tpm_atmel.h')
0 files changed, 0 insertions, 0 deletions