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

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Tomas Melin <tomas.melin@vaisala.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad9467.c

index d611ca813c0cb943e35982810dcfa9e03871927e..0bf67437508f7f1d12a4a2913b378f0c4c1302de 100644 (file)
@@ -176,7 +176,6 @@ struct ad9467_state {
        struct clk *clk;
        /* used for debugfs */
        struct ad9467_chan_test_mode *chan_test;
-       unsigned int output_mode;
        unsigned int (*scales)[2];
        /*
         * Times 2 because we may also invert the signal polarity and run the