aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/at91_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index b3ba8af4f261..2e2c9a80aa37 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc/at91_adc.c
@@ -81,7 +81,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p)
81 *timestamp = pf->timestamp; 81 *timestamp = pf->timestamp;
82 } 82 }
83 83
84 buffer->access->store_to(buffer, (u8 *)st->buffer); 84 iio_push_to_buffer(buffer, st->buffer);
85 85
86 iio_trigger_notify_done(idev->trig); 86 iio_trigger_notify_done(idev->trig);
87 87