summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel_spi.c
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2014-10-03 17:35:36 +0200
committerJonathan Cameron <jic23@kernel.org>2014-10-04 11:24:33 +0100
commitb6e6bda626972d895322474f41fb64a8a731cc0c (patch)
treec62c71dad27280d9431f9170c2871fca627d9c9b /drivers/iio/accel/st_accel_spi.c
parenta7ee8839daf21c4a3ca439733e7bed25f32e7954 (diff)
downloadlinux-stable-b6e6bda626972d895322474f41fb64a8a731cc0c.tar.gz
linux-stable-b6e6bda626972d895322474f41fb64a8a731cc0c.tar.bz2
linux-stable-b6e6bda626972d895322474f41fb64a8a731cc0c.zip
iio:accel: 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/accel/st_accel_spi.c')
-rw-r--r--drivers/iio/accel/st_accel_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/st_accel_spi.c b/drivers/iio/accel/st_accel_spi.c
index 195639646e34..2090d80062d2 100644
--- a/drivers/iio/accel/st_accel_spi.c
+++ b/drivers/iio/accel/st_accel_spi.c
@@ -33,7 +33,7 @@ static int st_accel_spi_probe(struct spi_device *spi)
st_sensors_spi_configure(indio_dev, spi, adata);
- err = st_accel_common_probe(indio_dev, spi->dev.platform_data);
+ err = st_accel_common_probe(indio_dev);
if (err < 0)
return err;