summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro/st_gyro_spi.c
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2014-10-03 17:35:37 +0200
committerJonathan Cameron <jic23@kernel.org>2014-10-04 12:24:52 +0200
commitef67b341477e54178245dcd7b349a209ec78d29d (patch)
treed6f2dfbb3a73f23d8780961d139645b39e669174 /drivers/iio/gyro/st_gyro_spi.c
parentiio:accel: Removed unnecessary parameter on common_probe function (diff)
downloadlinux-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.c3
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;