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

index f2a93c63ca14e2fa2a6c52243cb11af5aca8e6dc..c7ffe47449e2196169e28d3541e2886bb086c727 100644 (file)
@@ -231,7 +231,6 @@ static const struct iio_event_spec ads1015_events[] = {
 }
 
 struct ads1015_channel_data {
-       bool enabled;
        unsigned int pga;
        unsigned int data_rate;
 };