Skip to content

IIO: Kill off IIO_CHAN macro.

Jonathan Cameron linux-iio 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 3/314 patches 3 repliesIn review
  2. v2 posting 2/31 patch 2 repliesSuperseded
  3. v2 posting 1/31 patch 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v114 patches15 repliesSuperseded

Patches in v2 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14staging:iio:accel:adis16201 unwind use of IIO_CHAN macro.drivers/staging/iio/accel/adis16201_core.c+87 -290 replies
2/14staging:iio:accel:adis16203 unwind use of IIO_CHAN macro.drivers/staging/iio/accel/adis16203_core.c+64 -230 replies
3/14staging:iio:accel:adis16204 unwind use of IIO_CHAN macro.drivers/staging/iio/accel/adis16204_core.c+67 -250 replies
4/14staging:iio:accel:adis16209 unwind use of IIO_CHAN macro.drivers/staging/iio/accel/adis16209_core.c+100 -350 replies
5/14staging:iio:accel:adis16240 unwind use of IIO_CHAN macro.drivers/staging/iio/accel/adis16240_core.c+76 -270 replies
6/14staging:iio:accel:lis3l02dq unwind use of IIO_CHAN macro.drivers/staging/iio/accel/lis3l02dq_core.c+19 -60 replies
7/14staging:iio:accel:sca3000 unwind use of IIO_CHAN macro.drivers/staging/iio/accel/sca3000_core.c+20 -60 replies
8/14staging:iio:adc:ad7298 unwind use of IIO_CHAN macro.drivers/staging/iio/adc/ad7298_core.c+36 -270 replies
9/14staging:iio:adc:ad7476 unwind use of IIO_CHAN macro.drivers/staging/iio/adc/ad7476_core.c+21 -240 replies
10/14staging:iio:accel:ad7780 unwind use of IIO_CHAN macro.drivers/staging/iio/adc/ad7780.c+24 -60 replies
11/14staging:iio:gyro:adis16260 unwind use of IIO_CHAN macro.drivers/staging/iio/gyro/adis16260_core.c+65 -240 replies
12/14staging:iio:impedance-analyzer:ad5933 unwind use of IIO_CHAN macro.drivers/staging/iio/impedance-analyzer/ad5933.c+38 -90 replies
13/14staging:iio:meter:ade7758 unwind use of IIO_CHAN macro.drivers/staging/iio/meter/ade7758_core.c+196 -600 replies
14/14staging:iio:core drop the IIO_CHAN macro for ease of maintenance.drivers/staging/iio/iio.h+0 -170 replies

Reviews trailers per patch

11 of 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLars-Peter Clausen
SeriesR-b
1/14A-b
2/14A-b
3/14A-b
4/14A-b
5/14A-b
6/14
7/14
8/14A-b
9/14A-b
10/14A-b
11/14A-b
12/14A-b
13/14A-b
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 00/14 V2] IIO: Kill off IIO_CHAN macro.

Hi Greg,

This is clearly out some old cruft. Arnd warned me it was a stupid idea and I didn't listen :( Anyhow, I've been meanging to do this for ages. Lars-Peter verified the Analog devices driver changes and the rest are my drivers so I doubt anyone will look at them even if I let this sit for longer.

I don't think this is dependent on the fix series I sent a few mins back, but it was after it in my tree, so there might be some fuzz in iio.h.

Thanks,

Jonathan

Original message:

This one has been on my mental todo list for a while. As long as it was there, from time to time a new driver would get proposed using it thus wasting some poor developers time.

This kills off the remaing users and gets rid of it!

Please can people sanity check I haven't messed up the removal in their drivers (and anyone elses if they are bored enough!)

Jonathan

Jonathan Cameron (14):
staging:iio:accel:adis16201 unwind use of IIO_CHAN macro. staging:iio:accel:adis16203 unwind use of IIO_CHAN macro. staging:iio:accel:adis16204 unwind use of IIO_CHAN macro. staging:iio:accel:adis16209 unwind use of IIO_CHAN macro. staging:iio:accel:adis16240 unwind use of IIO_CHAN macro. staging:iio:accel:lis3l02dq unwind use of IIO_CHAN macro. staging:iio:accel:sca3000 unwind use of IIO_CHAN macro. staging:iio:adc:ad7298 unwind use of IIO_CHAN macro. staging:iio:adc:ad7476 unwind use of IIO_CHAN macro. staging:iio:accel:ad7780 unwind use of IIO_CHAN macro. staging:iio:gyro:adis16260 unwind use of IIO_CHAN macro. staging:iio:impedance-analyzer:ad5933 unwind use of IIO_CHAN macro. staging:iio:meter:ade7758 unwind use of IIO_CHAN macro. staging:iio:core drop the IIO_CHAN macro for ease of maintenance.

 drivers/staging/iio/accel/adis16201_core.c      |  116 ++++++++---
 drivers/staging/iio/accel/adis16203_core.c      |   87 ++++++--
 drivers/staging/iio/accel/adis16204_core.c      |   92 ++++++---
 drivers/staging/iio/accel/adis16209_core.c      |  135 +++++++++---
 drivers/staging/iio/accel/adis16240_core.c      |  103 +++++++---
 drivers/staging/iio/accel/lis3l02dq_core.c      |   25 ++-
 drivers/staging/iio/accel/sca3000_core.c        |   26 ++-
 drivers/staging/iio/adc/ad7298_core.c           |   63 ++++---
 drivers/staging/iio/adc/ad7476_core.c           |   45 ++--
 drivers/staging/iio/adc/ad7780.c                |   30 ++-
 drivers/staging/iio/gyro/adis16260_core.c       |   89 ++++++--
 drivers/staging/iio/iio.h                       |   17 --
 drivers/staging/iio/impedance-analyzer/ad5933.c |   47 ++++-
 drivers/staging/iio/meter/ade7758_core.c        |  256 +++++++++++++++++------
 14 files changed, 813 insertions(+), 318 deletions(-)