diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-10-07 22:36:36 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-15 18:59:50 +0100 |
commit | ace858339577c6b63196b875bbbb1cf5bc4347cd (patch) | |
tree | ecf3041b0914308a53327d57e7d40a8297c9f685 /tools/perf/scripts/python/task-analyzer.py | |
parent | 1a811e1be7954eb499a72cc12275d3a6aa8b179d (diff) |
iio: light: veml6035: fix read_avail in no_irq case for veml6035
The iio_info is identical for veml6030 and veml6035. Moreover,
veml6035_info_no_irq is missing the initialization of the read_avail
member, which is actually a bug if no irq is provided.
Instead of adding the missing initialization, remove the device-specific
iio_info and use the existing one for the veml6030.
Fixes: ccc26bd7d7d7 ("iio: light: veml6030: add support for veml6035")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241007-veml7700-v1-1-fb85dd839d63@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions