Changes in v2: - Droped patches 1,2. - DLN2-ADC: zero full struct instead of just the padding - MAX1363: add the data buffer in the iio_priv() - SSP_IIO: calculate always the timestamp - iio_push_to_buffers_with_timestamp(): mark the access of the indio_dev->scan_timestamp as ACCESS_PRIVATE() --- v1: https://lore.kernel.org/linux-iio/20241130002710.18615-1-vassilisamir@xxxxxxxxx/ The scan_timestamp value of the struct iio_dev, even though is an internal variable, it is being used in some drivers. To avoid any unwanted overwrites of this value, create a getter and when all the drivers are converted, mark the variable as __private. The patch is an RFC because the added value might not be considered high enough by someone to be implemented and/or it might need to be done in a different way since it touches multiple drivers. Vasileios Amoiridis (4): iio: adc: dln2-adc: zero full struct instead of just the padding iio: adc: max1363: make use of iio_is_soft_ts_enabled() iio: common: ssp_sensors: drop conditional optimization for simplicity iio: core: mark scan_timestamp as __private drivers/iio/adc/dln2-adc.c | 21 ++--------------- drivers/iio/adc/max1363.c | 30 +++++++----------------- drivers/iio/common/ssp_sensors/ssp_iio.c | 9 +++---- drivers/iio/industrialio-buffer.c | 2 +- include/linux/iio/buffer.h | 2 +- include/linux/iio/iio.h | 2 +- 6 files changed, 17 insertions(+), 49 deletions(-) base-commit: a3fb9f5202c3de0ca84848a475f59a0e0584d9fc -- 2.43.0