diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 17:35:39 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 11:25:38 +0100 |
commit | 0baa3fc1b6c1e928260ca099cbdf551ced2cbfa3 (patch) | |
tree | ca1fa455b1b820bf2843d3bd175e876715c7c216 /drivers/iio/pressure/st_pressure_i2c.c | |
parent | 2109eb4c0c7d21669ae2ad0cda90c438b5470bf3 (diff) |
iio:pressure: Removed unnecessary parameter on common_probe function
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/st_pressure_i2c.c')
-rw-r--r-- | drivers/iio/pressure/st_pressure_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/pressure/st_pressure_i2c.c b/drivers/iio/pressure/st_pressure_i2c.c index acaf165260bb..dd733513152d 100644 --- a/drivers/iio/pressure/st_pressure_i2c.c +++ b/drivers/iio/pressure/st_pressure_i2c.c @@ -56,7 +56,7 @@ static int st_press_i2c_probe(struct i2c_client *client, st_sensors_i2c_configure(indio_dev, client, pdata); - err = st_press_common_probe(indio_dev, client->dev.platform_data); + err = st_press_common_probe(indio_dev); if (err < 0) return err; |