diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2014-12-12 22:46:33 +0300 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-01-17 16:00:09 +0300 |
commit | 87155b7311bfec75b590b823b11f77adf2a16412 (patch) | |
tree | a57ebb7fd4dc1f2b73f72f9759c424939b208b03 /drivers/parport/parport_serial.c | |
parent | 1a0f1b279c2c4e5747a682b055d27d88e35bb632 (diff) | |
download | linux-87155b7311bfec75b590b823b11f77adf2a16412.tar.xz |
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>
Diffstat (limited to 'drivers/parport/parport_serial.c')
0 files changed, 0 insertions, 0 deletions