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 12:24:33 +0200
commitb6e6bda626972d895322474f41fb64a8a731cc0c (patch)
treec62c71dad27280d9431f9170c2871fca627d9c9b /drivers/iio/accel/st_accel_spi.c
parentiio:imu: changed structure name from st_sensors to st_sensor_settings (diff)
downloadlinux-b6e6bda626972d895322474f41fb64a8a731cc0c.tar.xz
linux-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 '')
-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;