aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-10-14 12:49:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-10-16 14:12:40 -0400
commiteddcee851ad9e988e6842eb58a6137a6bb8490b2 (patch)
tree3870c87b9405c9ecc9f43b50c60f4d86b6574616 /drivers/iio
parent41288e0f6215e13eac4f94186379977907850047 (diff)
iio:ad_sigma_delta: 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/adc/ad_sigma_delta.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c
index 2b5911274763..e6fbd3e70981 100644
--- a/drivers/iio/adc/ad_sigma_delta.c
+++ b/drivers/iio/adc/ad_sigma_delta.c
@@ -397,7 +397,6 @@ static irqreturn_t ad_sd_trigger_handler(int irq, void *p)
397} 397}
398 398
399static const struct iio_buffer_setup_ops ad_sd_buffer_setup_ops = { 399static const struct iio_buffer_setup_ops ad_sd_buffer_setup_ops = {
400 .preenable = &iio_sw_buffer_preenable,
401 .postenable = &ad_sd_buffer_postenable, 400 .postenable = &ad_sd_buffer_postenable,
402 .predisable = &iio_triggered_buffer_predisable, 401 .predisable = &iio_triggered_buffer_predisable,
403 .postdisable = &ad_sd_buffer_postdisable, 402 .postdisable = &ad_sd_buffer_postdisable,