diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-10-14 17:49:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-16 19:12:47 +0100 |
commit | c80b8ea9b4ef11fa99e7c3bfa90836971ec1e291 (patch) | |
tree | f1090ecc69d9e4ab5c8c23008f0cc2f0b7d48f7d /drivers/iio | |
parent | d4b2911b1ff4bece34fd662b9e056ac97c36b193 (diff) |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/industrialio-triggered-buffer.c b/drivers/iio/industrialio-triggered-buffer.c index c1cb1f94fe2..d6f54930b34 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, }; |