tpm/tpm_i2c_stm_st33: Replace access to io_lpcpd from struct st33zp24_platform_data...
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 8 Mar 2015 10:17:13 +0000 (11:17 +0100)
committerPeter Huewe <peterhuewe@gmx.de>
Wed, 18 Mar 2015 21:43:05 +0000 (22:43 +0100)
commitfe7d36859f25cec5029fb4f26e40db2fea623906
tree32f66d0757a99618cf0c7f77116b33f57601d1e9
parent34d47b6322087665be33ca3aa81775b143a4d7ac
tpm/tpm_i2c_stm_st33: Replace access to io_lpcpd from struct st33zp24_platform_data to tpm_stm_dev

io_lpcpd is accessible from struct tpm_stm_dev.
struct st33zp24_platform_data is only valid when using static platform
configuration data, not when using dts.

Reviewed-by: Jason Gunthorpe <jason.gunthorpe@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