summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm1-cmd.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-09-02 07:27:33 -0700
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-11-12 21:45:36 +0200
commitf2f5820e3ba6b7ce17dc7cc10a1e838378edcf75 (patch)
tree70ff3e52dd615fb82e5479f518163b905da89d5e /drivers/char/tpm/tpm1-cmd.c
parenteb094f06963bb0fd8134c6a9b805d4ad0002a7d4 (diff)
downloadlinux-f2f5820e3ba6b7ce17dc7cc10a1e838378edcf75.tar.bz2
tpm: Remove duplicate code from caps_show() in tpm-sysfs.c
Replace existing TPM 1.x version structs with new structs that consolidate the common parts into a single struct so that code duplication is no longer needed in caps_show(). Cc: Peter Huewe <peterhuewe@gmx.de> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Alexey Klimov <aklimov@redhat.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Tested-by: Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/tpm1-cmd.c')
0 files changed, 0 insertions, 0 deletions