summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/st_magn.h
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2014-10-03 17:35:38 +0200
committerJonathan Cameron <jic23@kernel.org>2014-10-04 12:25:19 +0200
commit2109eb4c0c7d21669ae2ad0cda90c438b5470bf3 (patch)
treee61e6d3acce3a4eb0d2930911a12a85555fe4b46 /drivers/iio/magnetometer/st_magn.h
parentiio:gyro: Removed unnecessary parameter on common_probe function (diff)
downloadlinux-2109eb4c0c7d21669ae2ad0cda90c438b5470bf3.tar.xz
linux-2109eb4c0c7d21669ae2ad0cda90c438b5470bf3.zip
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.h')
-rw-r--r--drivers/iio/magnetometer/st_magn.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/magnetometer/st_magn.h b/drivers/iio/magnetometer/st_magn.h
index 694e33e0fb72..7e81d00ef0c3 100644
--- a/drivers/iio/magnetometer/st_magn.h
+++ b/drivers/iio/magnetometer/st_magn.h
@@ -18,8 +18,7 @@
#define LSM303DLM_MAGN_DEV_NAME "lsm303dlm_magn"
#define LIS3MDL_MAGN_DEV_NAME "lis3mdl"
-int st_magn_common_probe(struct iio_dev *indio_dev,
- struct st_sensors_platform_data *pdata);
+int st_magn_common_probe(struct iio_dev *indio_dev);
void st_magn_common_remove(struct iio_dev *indio_dev);
#ifdef CONFIG_IIO_BUFFER