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: max1363: remove unused requestedmask field

Remove unused requestedmask field from max1363_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>

authored by

Antoniu Miclaus and committed by
Jonathan Cameron
d41114a7 8c0af74e

-2
-2
drivers/iio/adc/max1363.c
··· 149 149 * @configbyte: cache of current device config byte 150 150 * @chip_info: chip model specific constants, available modes, etc. 151 151 * @current_mode: the scan mode of this chip 152 - * @requestedmask: a valid requested set of channels 153 152 * @lock: lock to ensure state is consistent 154 153 * @monitor_on: whether monitor mode is enabled 155 154 * @monitor_speed: parameter corresponding to device monitor speed setting ··· 168 169 u8 configbyte; 169 170 const struct max1363_chip_info *chip_info; 170 171 const struct max1363_mode *current_mode; 171 - u32 requestedmask; 172 172 struct mutex lock; 173 173 174 174 /* Using monitor modes and buffer at the same time is