]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7606: don't use address field
authorDavid Lechner <dlechner@baylibre.com>
Tue, 18 Mar 2025 22:52:15 +0000 (17:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:54 +0000 (19:09 +0100)
commitf504e35293f344b541b8b1f52887049088ff8211
treeb201f930c6c010f56b608187097e396feeeb8cfb
parent050cf84f0b2a76dbc50dd52e0eca590eff0e27c3
iio: adc: ad7606: don't use address field

Drop use of the address field in the ad7606 driver. This field was
duplicating the same info that was already in the channel and scan_index
fields. This is one less thing to have to hold in your mind when reading
the code.

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250318-iio-adc-ad7606-improvements-v2-7-4b605427774c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c
drivers/iio/adc/ad7606.h