summaryrefslogtreecommitdiff
path: root/drivers/iio/light/rohm-bu27034.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/rohm-bu27034.c')
-rw-r--r--drivers/iio/light/rohm-bu27034.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/light/rohm-bu27034.c b/drivers/iio/light/rohm-bu27034.c
index 7cec5e943373..28d111ac8c0a 100644
--- a/drivers/iio/light/rohm-bu27034.c
+++ b/drivers/iio/light/rohm-bu27034.c
@@ -1193,7 +1193,8 @@ static int bu27034_buffer_thread(void *arg)
*/
data->scan.mlux = (u32)mlux;
}
- iio_push_to_buffers_with_timestamp(idev, &data->scan, tstamp);
+ iio_push_to_buffers_with_ts(idev, &data->scan,
+ sizeof(data->scan), tstamp);
}
return 0;