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: light: apds9306: remove unused nlux_per_count

Remove unused nlux_per_count field from apds9306_data
struct. The field is declared but never accessed in the
driver.

Acked-by: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
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
9c21a850 c1f9dea7

-2
-2
drivers/iio/light/apds9306.c
··· 168 168 * respectively. 169 169 * @regmap: Regmap structure pointer 170 170 * @rf: Regmap register fields structure 171 - * @nlux_per_count: Nano lux per ADC count for a particular model 172 171 * @read_data_available: Flag set by IRQ handler for ADC data available 173 172 */ 174 173 struct apds9306_data { ··· 179 180 struct regmap *regmap; 180 181 struct apds9306_regfields rf; 181 182 182 - int nlux_per_count; 183 183 int read_data_available; 184 184 }; 185 185