aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2024-07-15 20:28:55 +0200
committerJonathan Cameron <[email protected]>2024-08-03 10:13:38 +0100
commit0cef1c3232e7b4e584e1f098f0eac63525128e59 (patch)
tree6ac6d0684b0726edfab1a2b5398c24fed6b60ca5 /tools/perf/scripts/python
parentd5cbe1502043124ff8af8136b80f93758c4a61e0 (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