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:21:42 +0000 (17:21 +0300)
commit6388b659533bf76ce62a3fb5f4f30a69bb65c098
treee4e33b6b97c769456dbe1483038ccb121464680d
parent160beb40d51b426c8557598f6f0f475dcd3e6d02
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