mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-06-04 07:23:36 -04:00
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:
committed by
Jonathan Cameron
parent
9c21a850f0
commit
2ac8cd2bab
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user