diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 11:35:37 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 06:24:52 -0400 |
commit | ef67b341477e54178245dcd7b349a209ec78d29d (patch) | |
tree | d6f2dfbb3a73f23d8780961d139645b39e669174 /drivers/iio/gyro/st_gyro_spi.c | |
parent | b6e6bda626972d895322474f41fb64a8a731cc0c (diff) |
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) | |||
33 | 33 | ||
34 | st_sensors_spi_configure(indio_dev, spi, gdata); | 34 | st_sensors_spi_configure(indio_dev, spi, gdata); |
35 | 35 | ||
36 | err = st_gyro_common_probe(indio_dev, | 36 | err = st_gyro_common_probe(indio_dev); |
37 | (struct st_sensors_platform_data *)&gyro_pdata); | ||
38 | if (err < 0) | 37 | if (err < 0) |
39 | return err; | 38 | return err; |
40 | 39 | ||