Meld a common function for opening measurements files and keep the dentries in a static array.
Jarkko Sakkinen (2): tpm: replace dynamically allocated bios_dir with a static array tpm: drop tpm1_chip_register(/unregister) Nayna Jain (1): tpm: define a generic open() method for ascii & bios measurements drivers/char/tpm/tpm-chip.c | 30 ++-------- drivers/char/tpm/tpm-sysfs.c | 3 + drivers/char/tpm/tpm.h | 3 +- drivers/char/tpm/tpm_eventlog.c | 129 +++++++++++++++------------------------- drivers/char/tpm/tpm_eventlog.h | 10 ++-- 5 files changed, 64 insertions(+), 111 deletions(-) -- 2.7.4