summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_vtpm_proxy.c
diff options
context:
space:
mode:
authorNayna Jain2016-10-19 02:49:39 +0200
committerJarkko Sakkinen2016-11-28 00:31:31 +0100
commit2528a64664f8a463d85b6e6876b4025042687553 (patch)
treeed67f57b65b3b4ba2a2b6c2a180abf84ab0b88f5 /drivers/char/tpm/tpm_vtpm_proxy.c
parentDocumentation: tpm: add the Physical TPM device tree binding documentation (diff)
downloadkernel-qcow2-linux-2528a64664f8a463d85b6e6876b4025042687553.tar.gz
kernel-qcow2-linux-2528a64664f8a463d85b6e6876b4025042687553.tar.xz
kernel-qcow2-linux-2528a64664f8a463d85b6e6876b4025042687553.zip
tpm: define a generic open() method for ascii & bios measurements
open() method for event log ascii and binary bios measurements file operations are very similar. This patch refactors the code into a single open() call by passing seq_operations as i_node->private data. Suggested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.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_vtpm_proxy.c')
0 files changed, 0 insertions, 0 deletions