tpm/st33zp24/i2c: Change xxx_request_resources header
authorChristophe RICARD <christophe.ricard@gmail.com>
Tue, 23 Feb 2016 21:25:50 +0000 (22:25 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (17:26 +0300)
commit740ec346f32b3459ecf8ae27df76cfa60e94ead0
treee4e33b6b97c769456dbe1483038ccb121464680d
parent86ff205b8e7b5b85ef1eb5e13f92f37c40a7181a
tpm/st33zp24/i2c: Change xxx_request_resources header

Simplify st33zp24_i2c_acpi_request_resources, st33zp24_i2c_of_request_resources
and st33zp24_i2c_request_resources to have the same prototype and using
i2c_get_clientdata.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/st33zp24/i2c.c