diff options
author | Nayna Jain | 2016-10-19 02:49:39 +0200 |
---|---|---|
committer | Jarkko Sakkinen | 2016-11-28 00:31:31 +0100 |
commit | 2528a64664f8a463d85b6e6876b4025042687553 (patch) | |
tree | ed67f57b65b3b4ba2a2b6c2a180abf84ab0b88f5 /drivers/char/tpm/tpm_vtpm_proxy.c | |
parent | Documentation: tpm: add the Physical TPM device tree binding documentation (diff) | |
download | kernel-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