]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: adc: ad7380: remove unused oversampling_ratio getter
authorDavid Lechner <dlechner@baylibre.com>
Tue, 24 Jun 2025 22:44:51 +0000 (22:44 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Jul 2025 09:37:51 +0000 (10:37 +0100)
commit8956547c5063a4796ced7cf253947d06b62d9552
tree0ccdd184d2fc5ed14f036417ea7bf0f2424c4a22
parent695b7c42d97b2a819b5602f16eed89d08fb45981
iio: adc: ad7380: remove unused oversampling_ratio getter

Remove a call to ad7380_get_osr() in ad7380_init_offload_msg. The
returned value is never used.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250624-iio-adc-ad7380-remove-unused-oversampling_ratio-getter-v1-1-26cbee356860@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7380.c