]> git.karo-electronics.de Git - linux-beck.git/commit
tpm: STM i2c driver fixes
authorKent Yoder <key@linux.vnet.ibm.com>
Wed, 5 Dec 2012 22:52:43 +0000 (16:52 -0600)
committerKent Yoder <key@linux.vnet.ibm.com>
Tue, 5 Feb 2013 15:38:23 +0000 (09:38 -0600)
commit3d7a7bd75d446bd38367c77a723d7a634aba0261
tree65bd01faf28aa94fc842f1788126a1bc067858e2
parent775585e47cd6b5eddf814d53b117b56a1a171553
tpm: STM i2c driver fixes

 Store the i2c_client struct in the vendor private pointer. Get rid of
the unnecessary include/linux/i2c/ header. Moved include files into the
driver c file. Fix smatch warnings. Make use of module_i2c_driver().
Removed unused code from the tpm_stm_st33_i2c.h file. Fix return
variable signedness in tpm_stm_i2c_send() and tpm_st33_i2c_probe().

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/tpm_stm_st33_i2c.c
drivers/char/tpm/tpm_stm_st33_i2c.h
include/linux/i2c/tpm_stm_st33_i2c.h [deleted file]