diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 19:35:38 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 14:25:19 +0400 |
commit | 2109eb4c0c7d21669ae2ad0cda90c438b5470bf3 (patch) | |
tree | e61e6d3acce3a4eb0d2930911a12a85555fe4b46 /drivers/iio/magnetometer/st_magn_spi.c | |
parent | ef67b341477e54178245dcd7b349a209ec78d29d (diff) | |
download | linux-2109eb4c0c7d21669ae2ad0cda90c438b5470bf3.tar.xz |
iio:magnetometer: 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/magnetometer/st_magn_spi.c')
-rw-r--r-- | drivers/iio/magnetometer/st_magn_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetometer/st_magn_spi.c index a6143ea51dfc..f64214237cf6 100644 --- a/drivers/iio/magnetometer/st_magn_spi.c +++ b/drivers/iio/magnetometer/st_magn_spi.c @@ -33,7 +33,7 @@ static int st_magn_spi_probe(struct spi_device *spi) st_sensors_spi_configure(indio_dev, spi, mdata); - err = st_magn_common_probe(indio_dev, NULL); + err = st_magn_common_probe(indio_dev); if (err < 0) return err; |