[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260129174253.39574-3-antoniu.miclaus@analog.com>
Date: Thu, 29 Jan 2026 19:42:37 +0200
From: Antoniu Miclaus <antoniu.miclaus@...log.com>
To: Jonathan Cameron <jic23@...nel.org>,
David Lechner
<dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>,
Jagath Jog J <jagathjog1996@...il.com>,
Subhajit Ghosh <subhajit.ghosh@...aklogic.com>,
Eugene Zaikonnikov
<ez@...phonic.com>,
Marcelo Schmitt <marcelo.schmitt1@...il.com>,
Antoniu
Miclaus <antoniu.miclaus@...log.com>,
<linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] 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.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@...log.com>
---
drivers/iio/light/apds9306.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iio/light/apds9306.c b/drivers/iio/light/apds9306.c
index 7e68cca0edfa..ef6429bde193 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;
};
--
2.43.0
Powered by blists - more mailing lists