summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-10-14 18:49:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-10-16 20:12:47 +0200
commitc80b8ea9b4ef11fa99e7c3bfa90836971ec1e291 (patch)
treef1090ecc69d9e4ab5c8c23008f0cc2f0b7d48f7d /drivers/iio
parentiio:st_gyro: Remove redundant call to iio_sw_buffer_preenable(). (diff)
downloadlinux-c80b8ea9b4ef11fa99e7c3bfa90836971ec1e291.tar.xz
linux-c80b8ea9b4ef11fa99e7c3bfa90836971ec1e291.zip
iio:triggered-buffer: 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/iio')
-rw-r--r--drivers/iio/industrialio-triggered-buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/industrialio-triggered-buffer.c b/drivers/iio/industrialio-triggered-buffer.c
index c1cb1f94fe2e..d6f54930b34a 100644
--- a/drivers/iio/industrialio-triggered-buffer.c
+++ b/drivers/iio/industrialio-triggered-buffer.c
@@ -17,7 +17,6 @@
#include <linux/iio/trigger_consumer.h>
static const struct iio_buffer_setup_ops iio_triggered_buffer_setup_ops = {
- .preenable = &iio_sw_buffer_preenable,
.postenable = &iio_triggered_buffer_postenable,
.predisable = &iio_triggered_buffer_predisable,
};