aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2013-10-05 11:40:19 -0600
committerPeter Huewe <[email protected]>2013-10-22 19:42:35 +0200
commitd0a40174efb0b9d232ccd1cf127cb90a2120f55b (patch)
tree7d86946113fb9c444e1f50583515181b92c7f11e /include/linux
parent58c09e21332c4ab56ac694a71f6715db2768f53f (diff)
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 <[email protected]> Reviewed-by: Joel Schopp <[email protected]> Reviewed-by: Peter Huewe <[email protected]> Acked-by: Ashley Lai <[email protected]> Signed-off-by: Peter Huewe <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions