]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: adc: ad7768-1: remove unused mclk_div field
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 2 Feb 2026 11:25:52 +0000 (13:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Mar 2026 21:20:02 +0000 (21:20 +0000)
Remove unused mclk_div field from ad7768_state struct.
The field is declared but never accessed in the driver.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7768-1.c

index 917a3a0380a1b0123af71423477a46ef292b602a..8131f1d90072ae9b66b43d88ba9d782897e5da18 100644 (file)
@@ -309,7 +309,6 @@ struct ad7768_state {
        unsigned int vcm_output_sel;
        struct clk *mclk;
        unsigned int mclk_freq;
-       unsigned int mclk_div;
        unsigned int oversampling_ratio;
        enum ad7768_filter_type filter_type;
        unsigned int samp_freq;