Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eddcee85 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Jonathan Cameron
Browse files

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: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 41288e0f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -397,7 +397,6 @@ static irqreturn_t ad_sd_trigger_handler(int irq, void *p)
}

static const struct iio_buffer_setup_ops ad_sd_buffer_setup_ops = {
	.preenable = &iio_sw_buffer_preenable,
	.postenable = &ad_sd_buffer_postenable,
	.predisable = &iio_triggered_buffer_predisable,
	.postdisable = &ad_sd_buffer_postdisable,