]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7173: rename odr field
authorDavid Lechner <dlechner@baylibre.com>
Fri, 12 Sep 2025 19:09:31 +0000 (14:09 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 13 Sep 2025 14:16:07 +0000 (15:16 +0100)
commit27901cbc5bbcd4dbe0514999e08304074988a5d7
treef18e454c95b34d06b76eb5322a100f024b21a07a
parent63cc48ea772e0aa9633ce91e70f6a7756d4060c9
iio: adc: ad7173: rename odr field

Rename odr to sinc5_odr_index in the channel setup structure. In a
following commit, we will be adding a separate odr field for when the
sinc3 filter is used instead so having sinc5 in the name will help
avoid confusion. And _index makes it more clear that this is an index
of the sinc5_data_rates array and not the output data rate itself.

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7173.c