]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7380: do not store osr in private data structure
authorJulien Stephan <jstephan@baylibre.com>
Wed, 8 Jan 2025 12:49:35 +0000 (13:49 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 3 Feb 2025 19:15:37 +0000 (19:15 +0000)
commitadc59fe0c2222ee578fe40f4ae7ef6bb380dcd73
tree4c94d2fe70c6f35d12063f9bba3d19cdfb3f225f
parent85e5605279dff928f389cdfa1bd9c34d176011d9
iio: adc: ad7380: do not store osr in private data structure

Since regmap cache is now enabled, we don't need to store the
oversampling ratio in the private data structure.

Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20250108-ad7380-add-alert-support-v4-3-1751802471ba@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7380.c