]> Gentwo Git Trees - linux/.git/commit
iio: adc: ad7606: drop ch param from ad7606_scale_setup_cb_t
authorDavid Lechner <dlechner@baylibre.com>
Tue, 18 Mar 2025 22:52:16 +0000 (17:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:54 +0000 (19:09 +0100)
commitc1f571c3ca17cf3ab3e32f33d773b8e04378c189
treea7fd259802cf246f8f9d170c1cae271a986d7e53
parentf504e35293f344b541b8b1f52887049088ff8211
iio: adc: ad7606: drop ch param from ad7606_scale_setup_cb_t

Drop the ch parameter from the ad7606_scale_setup_cb_t functions. The
same info is already available from the chan param via chan->scan_type
and chan->channel, so the parameter is redundant.

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-8-4b605427774c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c
drivers/iio/adc/ad7606.h