diff options
| author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2026-02-02 14:26:03 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-04 00:20:03 +0300 |
| commit | 2ac8cd2bab30509cfada82546eee96f0aca38c20 (patch) | |
| tree | 2285dbc47c004bdb8baca1e6d1d80013fe6540cb | |
| parent | 9c21a850f0c7a4bb9a50487b918a858014835b65 (diff) | |
| download | linux-2ac8cd2bab30509cfada82546eee96f0aca38c20.tar.xz | |
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>
| -rw-r--r-- | drivers/iio/light/gp2ap020a00f.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c index 76147b6d14e8..7e388319ee2e 100644 --- a/drivers/iio/light/gp2ap020a00f.c +++ b/drivers/iio/light/gp2ap020a00f.c @@ -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; }; |
