Messages in this thread | | | From | Jason Gunthorpe <> | Subject | tpm: Remainder of earlier clean up | Date | Sun, 3 Nov 2013 20:38:41 -0700 |
| |
Here is the last five patches from the prior series I sent that didn't get picked up yet.
There are no changes, these are just rebased onto 3.12rc7 + Peter's for-james branch. (Peter: Note, there are TPM changes to the Xen driver in 3.12rc7 that are not in your for-james branch)
The intent of these patches is to reduce the duplicated code that is present in all the drivers by migrating it into the core.
I've placed the patches on my github: https://github.com/jgunthorpe/linux/commits/for-tpm
drivers/char/tpm/Makefile | 2 +- drivers/char/tpm/tpm-dev.c | 213 +++++++++++++++++++++++++++++++++++++ drivers/char/tpm/tpm-interface.c | 487 +++++------------------------------------------------------------------------------- drivers/char/tpm/tpm-sysfs.c | 318 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/char/tpm/tpm.h | 83 +++++++-------- drivers/char/tpm/tpm_atmel.c | 28 +---- drivers/char/tpm/tpm_i2c_atmel.c | 42 +------- drivers/char/tpm/tpm_i2c_infineon.c | 42 +------- drivers/char/tpm/tpm_i2c_nuvoton.c | 42 +------- drivers/char/tpm/tpm_i2c_stm_st33.c | 41 +------ drivers/char/tpm/tpm_ibmvtpm.c | 40 +------ drivers/char/tpm/tpm_infineon.c | 28 +---- drivers/char/tpm/tpm_nsc.c | 28 +---- drivers/char/tpm/tpm_tis.c | 49 +-------- drivers/char/tpm/xen-tpmfront.c | 45 +------- include/linux/tpm.h | 12 +++ 16 files changed, 624 insertions(+), 876 deletions(-)
| |