diff options
| author | 2026-06-19 17:54:32 +0200 | |
|---|---|---|
| committer | 2026-06-30 00:15:56 +0100 | |
| commit | d04a09b41d2e2d7c2063cf8f2addc1c6dd08de4b (patch) | |
| tree | 6769e44f09478aa35859a70219776c4341d80bb7 /scripts/Makefile.thinlto | |
| parent | iio: Initialize i2c_device_id arrays using member names (part 2) (diff) | |
iio: adc: max1241: Simplify device abstraction
The driver was introduced in 2020 and since then only supports a single
chip variant and .driver_data was unused from the start.
Drop the assignment for .driver_data and hardcode the device name
instead of doing a lookup in a table with only one entry. While touching
that array, make use of a named initializer.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
