Skip to content

iio: adc: replace deprecated iio_push_to_buffers_with_timestamp()

Atharv Dubey linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11iio: ad_sigma_delta: replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/ad_sigma_delta.c+3 -32 replies
2/11iio: ad7766: replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/ad7766.c+2 -20 replies
3/11iio: adc : ads7950 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/ti-ads7950.c+1 -10 replies
4/11iio: adc : cc10001 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/cc10001_adc.c+2 -10 replies
5/11iio: adc : ad7887 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/ad7887.c+2 -20 replies
6/11iio: adc : hx711 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/hx711.c+3 -20 replies
7/11iio: adc : at91 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/at91_adc.c+1 -10 replies
8/11iio: adc : ad799x : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/ad799x.c+3 -20 replies
9/11iio: adc : adc161s626 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/ti-adc161s626.c+3 -20 replies
10/11iio: adc : mt6360 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/mt6360-adc.c+1 -10 replies
11/11iio: adc : ad7944 : replace deprecated iio_push_to_buffers_with_timestamp()drivers/iio/adc/ad7944.c+6 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] iio: adc: replace deprecated iio_push_to_buffers_with_timestamp()

Hello ,

The helper iio_push_to_buffers_with_timestamp() is deprecated in the IIO subsystem. The recommended replacement is iio_push_to_buffers_with_ts().

This patch series updates multiple ADC drivers to use the newer helper API. No functional changes are intended; the patches only replace the deprecated calls and adjust arguments where required.

The goal is to remove usage of the deprecated helper and keep the drivers aligned with the current IIO buffer interface.

Regards,
Atharv

---
Atharv Dubey (11):
iio: ad_sigma_delta: replace deprecated
iio_push_to_buffers_with_timestamp()
iio: ad7766: replace deprecated iio_push_to_buffers_with_timestamp()
iio: adc : ads7950 : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : cc10001 : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : ad7887 : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : hx711 : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : at91 : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : ad799x : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : adc161s626 : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : mt6360 : replace deprecated
iio_push_to_buffers_with_timestamp()
iio: adc : ad7944 : replace deprecated
iio_push_to_buffers_with_timestamp()

 drivers/iio/adc/ad7766.c         |  4 ++--
 drivers/iio/adc/ad7887.c         |  4 ++--
 drivers/iio/adc/ad7944.c         | 10 ++++++----
 drivers/iio/adc/ad799x.c         |  5 +++--
 drivers/iio/adc/ad_sigma_delta.c |  6 +++---
 drivers/iio/adc/at91_adc.c       |  2 +-
 drivers/iio/adc/cc10001_adc.c    |  3 ++-
 drivers/iio/adc/hx711.c          |  5 +++--
 drivers/iio/adc/mt6360-adc.c     |  2 +-
 drivers/iio/adc/ti-adc161s626.c  |  5 +++--
 drivers/iio/adc/ti-ads7950.c     |  2 +-
 11 files changed, 27 insertions(+), 21 deletions(-)
Signature · 1 line
2.43.0