]> git.baikalelectronics.ru Git - kernel.git/commit
tpm/tpm_i2c_stm_st33: Remove reference to io_serirq
authorChristophe Ricard <christophe.ricard@gmail.com>
Mon, 1 Dec 2014 18:32:52 +0000 (19:32 +0100)
committerPeter Huewe <peterhuewe@gmx.de>
Sat, 17 Jan 2015 13:00:07 +0000 (14:00 +0100)
commit9c31190dcc1cc786759c1b739ed99cde645b0244
tree80a238308c01cc8dff7a430058beb17fe9e0c4ad
parentee669589e97d8fe214d364607f122d22ba4dc9e5
tpm/tpm_i2c_stm_st33: Remove reference to io_serirq

The serirq gpio pin is used only as interrupt. After driver initialization,
the serirq signal is always used through interrupt and never with gpio
kernel API.

The irq can then be initialized during the platform_data definition within the client->irq pin.

Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
drivers/char/tpm/tpm_i2c_stm_st33.c
include/linux/platform_data/tpm_i2c_stm_st33.h