]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: light: gp2ap020a00f: remove unused debug_reg_addr
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 2 Feb 2026 11:26:03 +0000 (13:26 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Mar 2026 21:20:03 +0000 (21:20 +0000)
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>
drivers/iio/light/gp2ap020a00f.c

index 76147b6d14e877d716ea03297ca092969d9aa7ce..7e388319ee2e3d52f3b984ac30a5ba2777b67916 100644 (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;
 };