From: Antoniu Miclaus Date: Mon, 2 Feb 2026 11:26:02 +0000 (+0200) Subject: iio: light: apds9306: remove unused nlux_per_count X-Git-Tag: v7.1-rc1~17^2~120^2~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c21a850f0c7a4bb9a50487b918a858014835b65;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Antoniu Miclaus Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/light/apds9306.c b/drivers/iio/light/apds9306.c index 5d18eabd961e4..5ca4c87524fe2 100644 --- a/drivers/iio/light/apds9306.c +++ b/drivers/iio/light/apds9306.c @@ -168,7 +168,6 @@ struct apds9306_regfields { * respectively. * @regmap: Regmap structure pointer * @rf: Regmap register fields structure - * @nlux_per_count: Nano lux per ADC count for a particular model * @read_data_available: Flag set by IRQ handler for ADC data available */ struct apds9306_data { @@ -180,7 +179,6 @@ struct apds9306_data { struct regmap *regmap; struct apds9306_regfields rf; - int nlux_per_count; int read_data_available; };