summaryrefslogtreecommitdiff
path: root/drivers/memory/mtk-smi.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-09-02 17:27:33 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-11-12 22:45:36 +0300
commitf2f5820e3ba6b7ce17dc7cc10a1e838378edcf75 (patch)
tree70ff3e52dd615fb82e5479f518163b905da89d5e /drivers/memory/mtk-smi.c
parenteb094f06963bb0fd8134c6a9b805d4ad0002a7d4 (diff)
downloadlinux-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/memory/mtk-smi.c')
0 files changed, 0 insertions, 0 deletions