iio: humidity: hdc2010: remove unused interrupt_config
PATCH 1/1 iio: humidity: hdc2010: remove unused interrupt_config
Remove unused interrupt_config field from hdc2010_data struct. The field is declared but never accessed in the driver.
--- drivers/iio/humidity/hdc2010.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/humidity/hdc2010.c +0 -1
@@ -44,7 +44,6 @@ struct hdc2010_data {struct i2c_client *client;struct mutex lock;u8 measurement_config; -u8 interrupt_config;u8 drdy_config; };
Signature · 1 line
2.43.0
PATCH 1/1 iio: imu: bmi323: remove unused drdy_trigger_enabled
Remove unused drdy_trigger_enabled field from bmi323_data struct. The field is declared but never accessed in the driver.
--- drivers/iio/imu/bmi323/bmi323_core.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/imu/bmi323/bmi323_core.c +0 -1
@@ -156,7 +156,6 @@ struct bmi323_data {struct iio_mount_matrix orientation;enum bmi323_irq_pin irq_pin;struct iio_trigger *trig; -bool drdy_trigger_enabled;enum bmi323_state state;s64 fifo_tstamp, old_fifo_tstamp;u32 odrns[BMI323_SENSORS_CNT ];
Signature · 1 line
2.43.0
PATCH 1/1 iio: light: apds9306: remove unused nlux_per_count
In reply to Antoniu MiclausRemove unused nlux_per_count field from apds9306_data struct. The field is declared but never accessed in the driver.
--- drivers/iio/light/apds9306.c | 2 -- 1 file changed, 2 deletions(-)
drivers/iio/light/apds9306.c +0 -2
@@ -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; };
Signature · 1 line
2.43.0
Re: [PATCH] iio: light: apds9306: remove unused nlux_per_count
Quoted 22 lines · Antoniu Miclaus
Remove unused
nlux_per_countfield fromapds9306_datastruct. The field is declared but never accessed in the driver.Signed-off-by Antoniu Miclaus <[email protected]>--- drivers/iio/light/apds9306.c | 2 -- 1 file changed, 2 deletions(-)drivers/iio/light/apds9306.c +0
-1@@ -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 {
drivers/iio/light/apds9306.c struct apds9306_data { · line 184
Quoted 7 lines
drivers/iio/light/apds9306.c +0
-1@@ -180,7 +179,6 @@ struct apds9306_data {struct regmap *regmap;struct apds9306_regfields rf; -int nlux_per_count;int read_data_available; };
Good find.
Regards,
Subhajit Ghosh
PATCH 1/1 iio: light: gp2ap020a00f: remove unused debug_reg_addr
In reply to Antoniu MiclausRemove unused debug_reg_addr field from gp2ap020a00f_data struct. The field is declared but never accessed in the driver.
--- drivers/iio/light/gp2ap020a00f.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/light/gp2ap020a00f.c +0 -1
@@ -246,7 +246,6 @@ struct gp2ap020a00f_data {struct iio_trigger *trig;struct regmap *regmap;unsigned int thresh_val[4 ]; -u8 debug_reg_addr;struct irq_work work;wait_queue_head_t data_ready_queue; };
Signature · 1 line
2.43.0
Jonathan Cameron
maintainerQuoted 5 lines · On Thu, 29 Jan 2026 19:42:35 +0200 Antoniu Miclaus…
Remove unused
interrupt_configfield fromhdc2010_datastruct. The field is declared but never accessed in the driver.Signed-off-by Antoniu Miclaus <[email protected]>
This set are also incorrectly threaded.
Also, don't have more than one set of patches posted at the same time addressing the same sort of thing. Just post one set with them all in, or wait until first lot are merged. Having multiple such sets in flight just causes confusion for reviewers.
These are fine, but I'd like them inside that other series I'm requesting so they are all in one place.
Thanks,
Jonathan
Quoted 16 lines
--- drivers/iio/humidity/hdc2010.c | 1 - 1 file changed, 1 deletion(-)drivers/iio/humidity/hdc2010.c +0
-1@@ -44,7 +44,6 @@ struct hdc2010_data {struct i2c_client *client;struct mutex lock;u8 measurement_config; -u8 interrupt_config;u8 drdy_config; };