Skip to content

iio: Use named initializers for device_id structures

Uwe Kleine-König (The Capable Hub) linux-iio linux-staging lkml 2 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesApplied
  2. v113 patches 14 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3iio: adc: ti-tsc2046: Simplify device handlingdrivers/iio/adc/ti-tsc2046.c+4 -212 replies
2/3iio: imu: adis16550: Simplify device abstractiondrivers/iio/imu/adis16550.c+26 -632 replies
3/3staging: iio: Initialize spi_device_id arrays using member namesdrivers/staging/iio/adc/ad7816.c drivers/staging/iio/frequency/ad9834.c+7 -71 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNuno SáOleksij Rempel
1/3R-b
2/3R-b
3/3R-b

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 v2 0/3] iio: Use named initializers for device_id structures

Hello,

v1 of this series can be found at
https://lore.kernel.org/linux-iio/[email protected]
.

Jonathan already applied most of the v1 series, so here come only the remaining bits with the following changes:

- Squash the ti-tsc2046 changes together and simplify some more
- Apply the same simplification to the adis16550 driver. Jonathan asked the ADI people if they have a driver extention in the queue to actually make use of the device abstraction that is thrown away here. There was no reply yet, so I thought I'll implement this simplifictions such that it's clear what we're discussing.

Patch 3 was already part of v1 and Jonathan claimed to have applied it, but it's not in his testing branch, so I included it here again.

Uwe Kleine-König (The Capable Hub) (3):
iio: adc: ti-tsc2046: Simplify device handling
iio: imu: adis16550: Simplify device abstraction
staging: iio: Initialize spi_device_id arrays using member names

 drivers/iio/adc/ti-tsc2046.c           | 25 ++------
 drivers/iio/imu/adis16550.c            | 89 ++++++++------------------
 drivers/staging/iio/adc/ad7816.c       |  6 +-
 drivers/staging/iio/frequency/ad9834.c |  8 +--
 4 files changed, 37 insertions(+), 91 deletions(-)

base-commit: 76b8de6371463f29189d4df52f464c3fd6f3328e

Signature · 1 line
2.47.3