]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: dac: max5821: Drop unused i2c driver data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 19 May 2026 08:13:06 +0000 (10:13 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2026 10:01:46 +0000 (11:01 +0100)
commita7ee2d07013bd369285a0b87f219bd81a1f103ad
tree076425c171377c61c84896a4262359c0148a2a10
parentabd69c09a73bb9a74f899526b4c7a60169dcbb27
iio: dac: max5821: Drop unused i2c driver data

The .driver_data member of the single i2c_device_id array entry is
unused in the driver. Drop it and also the then unused definition.

While at it, convert the i2c_device_id array to a better readable named
initializer.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/max5821.c