[PATCH v3 0/2] iio: accel: kionix-kx022a: unify staging buffer and convert to iio_push_to_buffers_with_ts()

From: Gabriel Rondon

Date: Wed Aug 19 2026 - 06:38:21 EST


This is the kx022a staging-buffer unification plus the deprecated-API
conversion. Patch 1 drops the redundant buffer and routes the one-shot
read and the triggered handler through scan; patch 2 does the
iio_push_to_buffers_with_ts() conversion.

Changes in v3:
- get_axis(): use a local __le16 *buf and le16_to_cpup() (Andy)
- Add Suggested-by: Jonathan Cameron to patch 1
- Trim patch 2 changelog

v2: https://lore.kernel.org/linux-iio/20260818215122.52715-1-grondon@xxxxxxxxx/

Gabriel Rondon (2):
iio: accel: kionix-kx022a: use scan struct for one-shot and trigger
reads
iio: accel: kionix-kx022a: use iio_push_to_buffers_with_ts()

drivers/iio/accel/kionix-kx022a.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)

--
2.50.1 (Apple Git-155)