iio: light: gp2ap020a00f: remove unused debug_reg_addr

Remove unused debug_reg_addr field from gp2ap020a00f_data
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>
This commit is contained in:
Antoniu Miclaus 2026-02-02 13:26:03 +02:00 committed by Jonathan Cameron
parent 9c21a850f0
commit 2ac8cd2bab

View File

@ -245,7 +245,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;
};