1
0
Fork 0
alistair23-linux/drivers/char/tpm
Jarkko Sakkinen 87155b7311 tpm: merge duplicate transmit_cmd() functions
Merged transmit_cmd() functions in tpm-interface.c and tpm-sysfs.c.
Added "tpm_" prefix for consistency sake. Changed cmd parameter as
opaque. This enables to use separate command structures for TPM1
and TPM2 commands in future. Loose coupling works fine here.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jasob Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Tested-by: Scot Doyle <lkml14@scotdoyle.com>
Tested-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2015-01-17 14:00:09 +01:00
..
Kconfig tpm/tpm_i2c_stm_st33: Update Kconfig in order to be inline to other similar product 2015-01-17 14:00:06 +01:00
Makefile tpm/tpm_i2c_stm_st33: Update Kconfig in order to be inline to other similar product 2015-01-17 14:00:06 +01:00
tpm-dev.c tpm: Make tpm-dev allocate a per-file structure 2014-01-06 14:37:25 +01:00
tpm-interface.c tpm: merge duplicate transmit_cmd() functions 2015-01-17 14:00:09 +01:00
tpm-sysfs.c tpm: merge duplicate transmit_cmd() functions 2015-01-17 14:00:09 +01:00
tpm.h tpm: merge duplicate transmit_cmd() functions 2015-01-17 14:00:09 +01:00
tpm_acpi.c ACPI: Clean up acpi_os_map/unmap_memory() to eliminate __iomem. 2014-05-27 18:13:08 +02:00
tpm_atmel.c char: tpm: drop owner assignment from platform_drivers 2014-10-20 16:20:21 +02:00
tpm_atmel.h tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm_eventlog.c tpm: simplify code by using %*phN specifier 2014-07-29 23:10:56 +02:00
tpm_eventlog.h drivers/char/tpm: Add securityfs support for event log 2012-08-22 16:22:47 -05:00
tpm_i2c_atmel.c char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_release" 2015-01-17 14:00:06 +01:00
tpm_i2c_infineon.c drivers/char: delete non-required instances of include <linux/init.h> 2014-02-07 15:10:19 -08:00
tpm_i2c_nuvoton.c char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_release" 2015-01-17 14:00:06 +01:00
tpm_i2c_stm_st33.c tpm/tpm_i2c_stm_st33: Fix coccinelle warnings. Possible NULL pointer dereference 2015-01-17 14:00:09 +01:00
tpm_ibmvtpm.c tpm_ibmvtpm: Update email address in maintainers list and ibmvtpm driver 2015-01-17 14:00:09 +01:00
tpm_ibmvtpm.h tpm_ibmvtpm: Update email address in maintainers list and ibmvtpm driver 2015-01-17 14:00:09 +01:00
tpm_infineon.c tpm: Create a tpm_class_ops structure and use it in the drivers 2014-01-06 14:37:25 +01:00
tpm_nsc.c char: tpm: drop owner assignment from platform_drivers 2014-10-20 16:20:21 +02:00
tpm_of.c tpm_ibmvtpm: Update email address in maintainers list and ibmvtpm driver 2015-01-17 14:00:09 +01:00
tpm_ppi.c ACPI / TPM: Fix resume regression on Chromebooks 2014-05-12 01:13:28 +02:00
tpm_tis.c tpm_tis: verify interrupt during init 2015-01-17 14:00:05 +01:00
xen-tpmfront.c xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00