diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 17:35:37 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 12:24:52 +0200 |
commit | ef67b341477e54178245dcd7b349a209ec78d29d (patch) | |
tree | d6f2dfbb3a73f23d8780961d139645b39e669174 /drivers/iio/gyro/st_gyro_spi.c | |
parent | iio:accel: Removed unnecessary parameter on common_probe function (diff) | |
download | linux-ef67b341477e54178245dcd7b349a209ec78d29d.tar.xz linux-ef67b341477e54178245dcd7b349a209ec78d29d.zip |
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_spi.c')
-rw-r--r-- | drivers/iio/gyro/st_gyro_spi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/gyro/st_gyro_spi.c b/drivers/iio/gyro/st_gyro_spi.c index b4ad3be26687..3e7a01af9b61 100644 --- a/drivers/iio/gyro/st_gyro_spi.c +++ b/drivers/iio/gyro/st_gyro_spi.c @@ -33,8 +33,7 @@ static int st_gyro_spi_probe(struct spi_device *spi) st_sensors_spi_configure(indio_dev, spi, 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; |