Meld a common function for opening measurements files and keep the dentries in a static array.
Jarkko Sakkinen (1): tpm: replace dynamically allocated bios_dir with a static array Nayna Jain (1): tpm: define a generic open() method for ascii & bios measurements drivers/char/tpm/tpm-chip.c | 9 +-- drivers/char/tpm/tpm.h | 3 +- drivers/char/tpm/tpm_eventlog.c | 123 ++++++++++++++-------------------------- drivers/char/tpm/tpm_eventlog.h | 10 ++-- 4 files changed, 55 insertions(+), 90 deletions(-) -- 2.7.4