From: Jason Gunthorpe Date: Sat, 5 Oct 2013 17:40:19 +0000 (-0600) Subject: tpm: Remove redundant dev_set_drvdata X-Git-Tag: v3.13-rc1~18^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a40174efb0b9d232ccd1cf127cb90a2120f55b;p=pandora-kernel.git 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 Reviewed-by: Joel Schopp Reviewed-by: Peter Huewe Acked-by: Ashley Lai Signed-off-by: Peter Huewe --- Reading git-diff-tree failed