-
- Downloads
tpm: Create a tpm_class_ops structure and use it in the drivers
This replaces the static initialization of a tpm_vendor_specific structure in the drivers with the standard Linux idiom of providing a const structure of function pointers. Signed-off-by:Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by:
Joel Schopp <jschopp@linux.vnet.ibm.com> Reviewed-by:
Ashley Lai <adlai@linux.vnet.ibm.com> [phuewe: did apply manually due to commit 191ffc6bde3 tpm/tpm_i2c_atmel: fix coccinelle warnings] Signed-off-by:
Peter Huewe <peterhuewe@gmx.de>
Showing
- drivers/char/tpm/tpm-interface.c 8 additions, 2 deletionsdrivers/char/tpm/tpm-interface.c
- drivers/char/tpm/tpm.h 3 additions, 3 deletionsdrivers/char/tpm/tpm.h
- drivers/char/tpm/tpm_atmel.c 1 addition, 1 deletiondrivers/char/tpm/tpm_atmel.c
- drivers/char/tpm/tpm_i2c_atmel.c 1 addition, 1 deletiondrivers/char/tpm/tpm_i2c_atmel.c
- drivers/char/tpm/tpm_i2c_infineon.c 1 addition, 1 deletiondrivers/char/tpm/tpm_i2c_infineon.c
- drivers/char/tpm/tpm_i2c_nuvoton.c 1 addition, 1 deletiondrivers/char/tpm/tpm_i2c_nuvoton.c
- drivers/char/tpm/tpm_i2c_stm_st33.c 1 addition, 1 deletiondrivers/char/tpm/tpm_i2c_stm_st33.c
- drivers/char/tpm/tpm_ibmvtpm.c 1 addition, 1 deletiondrivers/char/tpm/tpm_ibmvtpm.c
- drivers/char/tpm/tpm_infineon.c 1 addition, 1 deletiondrivers/char/tpm/tpm_infineon.c
- drivers/char/tpm/tpm_nsc.c 1 addition, 1 deletiondrivers/char/tpm/tpm_nsc.c
- drivers/char/tpm/tpm_tis.c 1 addition, 1 deletiondrivers/char/tpm/tpm_tis.c
- drivers/char/tpm/xen-tpmfront.c 1 addition, 1 deletiondrivers/char/tpm/xen-tpmfront.c
- include/linux/tpm.h 12 additions, 0 deletionsinclude/linux/tpm.h
Loading
Please register or sign in to comment