linux/drivers/char/tpm
Jason Gunthorpe d0a40174ef tpm: Remove redundant dev_set_drvdata
TPM drivers should not call dev_set_drvdata (or aliases), only the core
code is allowed to call dev_set_drvdata, and it does it during
tpm_register_hardware.

These extra sets are harmless, but are an anti-pattern that many drivers
have copied.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Ashley Lai <adlai@linux.vnet.ibm.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2013-10-22 19:42:35 +02:00
..
Kconfig drivers/xen-tpmfront: Fix compile issue with missing option. 2013-08-30 13:24:14 -04:00
Makefile drivers/tpm: add xen tpmfront interface 2013-08-09 10:57:06 -04:00
tpm_acpi.c TPM: Switch to __packed instead of __attribute__((packed)) 2013-02-05 09:38:22 -06:00
tpm_atmel.c tpm atmel: Call request_region with the correct base 2013-10-22 19:42:26 +02:00
tpm_atmel.h
tpm_eventlog.c
tpm_eventlog.h
tpm_i2c_infineon.c tpm: Remove redundant dev_set_drvdata 2013-10-22 19:42:35 +02:00
tpm_i2c_stm_st33.c tpm: Remove redundant dev_set_drvdata 2013-10-22 19:42:35 +02:00
tpm_i2c_stm_st33.h tpm_i2c_stm_st33: fix oops when i2c client is unavailable 2013-02-05 09:38:24 -06:00
tpm_ibmvtpm.c tpm: ibmvtpm: Use %zd formatting for size_t format arguments 2013-10-22 19:42:25 +02:00
tpm_ibmvtpm.h drivers/char/tpm: remove tasklet and cleanup 2012-11-01 15:23:14 -05:00
tpm_infineon.c Char/Misc driver merge for 3.8-rc1 2012-12-11 13:56:38 -08:00
tpm_nsc.c tpm: Fix cancellation of TPM commands (polling mode) 2013-02-05 09:38:24 -06:00
tpm_of.c
tpm_ppi.c drivers/char/tpm/tpm_ppi: use strlcpy instead of strncpy 2013-04-12 12:17:28 -05:00
tpm_tis.c tpm: convert tpm_tis driver to use dev_pm_ops from legacy pm_ops 2013-09-11 15:58:16 -07:00
tpm.c tpm: Use container_of to locate the tpm_chip in tpm_open 2013-10-22 19:42:31 +02:00
tpm.h tpm: Store devname in the tpm_chip 2013-10-22 19:42:28 +02:00
xen-tpmfront.c tpm: Remove redundant dev_set_drvdata 2013-10-22 19:42:35 +02:00