[PATCH 1/3] iio: gyro: adxrs290: use iio_push_to_buffers_with_ts()
From: Gabriel Rondon
Date: Fri Aug 21 2026 - 10:10:33 EST
Replace the deprecated iio_push_to_buffers_with_timestamp() with
iio_push_to_buffers_with_ts(), passing the size of the pushed buffer.
Signed-off-by: Gabriel Rondon <grondon@xxxxxxxxx>
---
drivers/iio/gyro/adxrs290.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/gyro/adxrs290.c b/drivers/iio/gyro/adxrs290.c
index 563de2724396..b61cc81122a6 100644
--- a/drivers/iio/gyro/adxrs290.c
+++ b/drivers/iio/gyro/adxrs290.c
@@ -502,8 +502,8 @@ static irqreturn_t adxrs290_trigger_handler(int irq, void *p)
if (ret < 0)
break;
- iio_push_to_buffers_with_timestamp(indio_dev, &st->buffer,
- pf->timestamp);
+ iio_push_to_buffers_with_ts(indio_dev, &st->buffer,
+ sizeof(st->buffer), pf->timestamp);
} while (0);
iio_trigger_notify_done(indio_dev->trig);
--
2.50.1 (Apple Git-155)