mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d4b2911b1f
commit
c80b8ea9b4
|
@ -17,7 +17,6 @@
|
||||||
#include <linux/iio/trigger_consumer.h>
|
#include <linux/iio/trigger_consumer.h>
|
||||||
|
|
||||||
static const struct iio_buffer_setup_ops iio_triggered_buffer_setup_ops = {
|
static const struct iio_buffer_setup_ops iio_triggered_buffer_setup_ops = {
|
||||||
.preenable = &iio_sw_buffer_preenable,
|
|
||||||
.postenable = &iio_triggered_buffer_postenable,
|
.postenable = &iio_triggered_buffer_postenable,
|
||||||
.predisable = &iio_triggered_buffer_predisable,
|
.predisable = &iio_triggered_buffer_predisable,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue