Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: adc: ti-ads1015: remove unused enabled field

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>

authored by

Antoniu Miclaus and committed by
Jonathan Cameron
0555e56f 726c1035

-1
-1
drivers/iio/adc/ti-ads1015.c
··· 231 231 } 232 232 233 233 struct ads1015_channel_data { 234 - bool enabled; 235 234 unsigned int pga; 236 235 unsigned int data_rate; 237 236 };