summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/st_accel_buffer.c')
-rw-r--r--drivers/iio/accel/st_accel_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/st_accel_buffer.c b/drivers/iio/accel/st_accel_buffer.c
index a1e642e..7fddc13 100644
--- a/drivers/iio/accel/st_accel_buffer.c
+++ b/drivers/iio/accel/st_accel_buffer.c
@@ -91,7 +91,7 @@ static const struct iio_buffer_setup_ops st_accel_buffer_setup_ops = {
int st_accel_allocate_ring(struct iio_dev *indio_dev)
{
- return iio_triggered_buffer_setup(indio_dev, &iio_pollfunc_store_time,
+ return iio_triggered_buffer_setup(indio_dev, NULL,
&st_sensors_trigger_handler, &st_accel_buffer_setup_ops);
}
OpenPOWER on IntegriCloud