summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel.h
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.h
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 'drivers/iio/accel/st_accel.h')
-rw-r--r--drivers/iio/accel/st_accel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h
index c3877630b2e4..fa9646034305 100644
--- a/drivers/iio/accel/st_accel.h
+++ b/drivers/iio/accel/st_accel.h
@@ -33,8 +33,7 @@ static const struct st_sensors_platform_data default_accel_pdata = {
.drdy_int_pin = 1,
};
-int st_accel_common_probe(struct iio_dev *indio_dev,
- struct st_sensors_platform_data *pdata);
+int st_accel_common_probe(struct iio_dev *indio_dev);
void st_accel_common_remove(struct iio_dev *indio_dev);
#ifdef CONFIG_IIO_BUFFER