diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 19:35:37 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 14:24:52 +0400 |
commit | ef67b341477e54178245dcd7b349a209ec78d29d (patch) | |
tree | d6f2dfbb3a73f23d8780961d139645b39e669174 /drivers/iio/gyro/st_gyro_i2c.c | |
parent | b6e6bda626972d895322474f41fb64a8a731cc0c (diff) | |
download | linux-ef67b341477e54178245dcd7b349a209ec78d29d.tar.xz |
iio:gyro: 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/gyro/st_gyro_i2c.c')
-rw-r--r-- | drivers/iio/gyro/st_gyro_i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/gyro/st_gyro_i2c.c b/drivers/iio/gyro/st_gyro_i2c.c index 8fa0ad2ef4ef..94d01fba4a4c 100644 --- a/drivers/iio/gyro/st_gyro_i2c.c +++ b/drivers/iio/gyro/st_gyro_i2c.c @@ -72,8 +72,7 @@ static int st_gyro_i2c_probe(struct i2c_client *client, st_sensors_i2c_configure(indio_dev, client, gdata); - err = st_gyro_common_probe(indio_dev, - (struct st_sensors_platform_data *)&gyro_pdata); + err = st_gyro_common_probe(indio_dev); if (err < 0) return err; |