iio: use iio_push_to_buffer() in at91 driver

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Peter Meerwald 2012-10-13 09:06:00 +01:00 committed by Jonathan Cameron
parent e1562ef304
commit 1217c48f51

View File

@ -81,7 +81,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p)
*timestamp = pf->timestamp; *timestamp = pf->timestamp;
} }
buffer->access->store_to(buffer, (u8 *)st->buffer); iio_push_to_buffer(buffer, st->buffer);
iio_trigger_notify_done(idev->trig); iio_trigger_notify_done(idev->trig);