summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/accel/lis3l02dq_ring.c
diff options
context:
space:
mode:
authorLars-Peter Clausen2013-10-14 18:49:00 +0200
committerJonathan Cameron2013-10-16 20:13:57 +0200
commit77e587f67616219f7f94109afed4bf5bd2d01ad2 (patch)
tree369263a1ad3d75b9c0aa2d15f8ec351f1cc81475 /drivers/staging/iio/accel/lis3l02dq_ring.c
parentiio:gp2ap020a00f: Remove redundant call to iio_sw_buffer_preenable() (diff)
downloadkernel-qcow2-linux-77e587f67616219f7f94109afed4bf5bd2d01ad2.tar.gz
kernel-qcow2-linux-77e587f67616219f7f94109afed4bf5bd2d01ad2.tar.xz
kernel-qcow2-linux-77e587f67616219f7f94109afed4bf5bd2d01ad2.zip
staging:iio:lis3l02dq: Remove redundant call to iio_sw_buffer_preenable().
The equivalent of iio_sw_buffer_preenable() is now done in the IIO buffer core, so there is no need to do this from the driver anymore. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/accel/lis3l02dq_ring.c')
-rw-r--r--drivers/staging/iio/accel/lis3l02dq_ring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/lis3l02dq_ring.c b/drivers/staging/iio/accel/lis3l02dq_ring.c
index 2d559ba353d2..79cefe0a516a 100644
--- a/drivers/staging/iio/accel/lis3l02dq_ring.c
+++ b/drivers/staging/iio/accel/lis3l02dq_ring.c
@@ -382,7 +382,6 @@ error_ret:
}
static const struct iio_buffer_setup_ops lis3l02dq_buffer_setup_ops = {
- .preenable = &iio_sw_buffer_preenable,
.postenable = &lis3l02dq_buffer_postenable,
.predisable = &lis3l02dq_buffer_predisable,
};