]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: adc: ad7793: remove unused int_vref_mv field
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 2 Feb 2026 11:25:53 +0000 (13:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Mar 2026 21:20:02 +0000 (21:20 +0000)
Remove unused int_vref_mv field from ad7793_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/ad7793.c

index b6d86c62f24a1148c56b7ffd868a5ce3a5a38883..8ff7b70d6632e971b9aacfc3bde7ec47e89c0ffe 100644 (file)
@@ -152,7 +152,6 @@ struct ad7793_chip_info {
 
 struct ad7793_state {
        const struct ad7793_chip_info   *chip_info;
-       u16                             int_vref_mv;
        u16                             mode;
        u16                             conf;
        u32                             scale_avail[8][2];