diff options
| author | Marek Vasut <[email protected]> | 2024-07-15 20:28:55 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-08-03 10:13:38 +0100 |
| commit | 0cef1c3232e7b4e584e1f098f0eac63525128e59 (patch) | |
| tree | 6ac6d0684b0726edfab1a2b5398c24fed6b60ca5 /tools/perf/scripts/python | |
| parent | d5cbe1502043124ff8af8136b80f93758c4a61e0 (diff) | |
iio: light: noa1305: Simplify noa1305_read_raw()
The only channel this hardware supports is IIO_LIGHT, if the channel
is anything else, exit right away. The 'ret' variable is now always
only assigned by noa1305_measure(), do not initialize it anymore.
Update function parameter indent. No functional change.
Signed-off-by: Marek Vasut <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions