aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMudit Sharma <[email protected]>2024-06-25 22:02:01 +0100
committerJonathan Cameron <[email protected]>2024-06-29 18:51:25 +0100
commit1a5cba43096c9242fab503a40b053ec6b93d313a (patch)
treed1131408e45928333c613c921b8f841bc7427d01 /scripts/generate_rust_analyzer.py
parent74cb21576ea5247efbbb7d92f71cafee12159cd9 (diff)
iio: light: apds9306: Fix error handing
The return value of 'iio_gts_find_int_time_by_sel()' is assigned to variable 'intg_old' but value of 'ret' is checked for error. Update to use 'intg_old' for error checking. Fixes: 620d1e6c7a3f ("iio: light: Add support for APDS9306 Light Sensor") Signed-off-by: Mudit Sharma <[email protected]> Reviewed-by: Subhajit Ghosh <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions