diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-10-14 12:49:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-16 14:12:47 -0400 |
commit | c80b8ea9b4ef11fa99e7c3bfa90836971ec1e291 (patch) | |
tree | f1090ecc69d9e4ab5c8c23008f0cc2f0b7d48f7d | |
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>
-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 c1cb1f94fe2e..d6f54930b34a 100644 --- a/drivers/iio/industrialio-triggered-buffer.c +++ b/drivers/iio/industrialio-triggered-buffer.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <linux/iio/trigger_consumer.h> | 17 | #include <linux/iio/trigger_consumer.h> |
18 | 18 | ||
19 | static const struct iio_buffer_setup_ops iio_triggered_buffer_setup_ops = { | 19 | static const struct iio_buffer_setup_ops iio_triggered_buffer_setup_ops = { |
20 | .preenable = &iio_sw_buffer_preenable, | ||
21 | .postenable = &iio_triggered_buffer_postenable, | 20 | .postenable = &iio_triggered_buffer_postenable, |
22 | .predisable = &iio_triggered_buffer_predisable, | 21 | .predisable = &iio_triggered_buffer_predisable, |
23 | }; | 22 | }; |