[PATCH v2 0/3] iio: Use named initializers for device_id structures
From: Uwe Kleine-König (The Capable Hub)
Date: Tue Jun 30 2026 - 11:36:41 EST
Hello,
v1 of this series can be found at
https://lore.kernel.org/linux-iio/cover.1781883685.git.u.kleine-koenig@xxxxxxxxxxxx
.
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
--
2.47.3