diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 19:35:36 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 14:24:33 +0400 |
commit | b6e6bda626972d895322474f41fb64a8a731cc0c (patch) | |
tree | c62c71dad27280d9431f9170c2871fca627d9c9b /drivers/iio/accel/st_accel_spi.c | |
parent | a7ee8839daf21c4a3ca439733e7bed25f32e7954 (diff) | |
download | linux-b6e6bda626972d895322474f41fb64a8a731cc0c.tar.xz |
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.c | 2 |
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; |