diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-09-02 17:27:33 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-11-12 22:45:36 +0300 |
commit | f2f5820e3ba6b7ce17dc7cc10a1e838378edcf75 (patch) | |
tree | 70ff3e52dd615fb82e5479f518163b905da89d5e /drivers/edac/pnd2_edac.h | |
parent | eb094f06963bb0fd8134c6a9b805d4ad0002a7d4 (diff) | |
download | linux-f2f5820e3ba6b7ce17dc7cc10a1e838378edcf75.tar.xz |
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/edac/pnd2_edac.h')
0 files changed, 0 insertions, 0 deletions