[PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts()
Gabriel Rondon <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Convert the gyro drivers that still use the deprecated iio_push_to_buffers_with_timestamp() to iio_push_to_buffers_with_ts(), which takes and checks the destination buffer size. Each pushes a struct with an aligned_s64 timestamp, so the change is passing sizeof() of that buffer at the push site. No functional change. Gabriel Rondon (3): iio: gyro: adxrs290: use iio_push_to_buffers_with_ts() iio: gyro: bmg160: use iio_push_to_buffers_with_ts() iio: gyro: itg3200: use iio_push_to_buffers_with_ts() drivers/iio/gyro/adxrs290.c | 4 ++-- drivers/iio/gyro/bmg160_core.c | 4 ++-- drivers/iio/gyro/itg3200_buffer.c | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) -- 2.50.1 (Apple Git-155)