diff options
| author | Marek Vasut <[email protected]> | 2024-07-15 20:28:56 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-08-03 10:13:38 +0100 |
| commit | dde56b6db4d40e6d5017fbb94a5a2d973208800f (patch) | |
| tree | e062bd3ceca45d5733d6cc8298cdd48d07e442de /tools/perf/scripts/python/flamegraph.py | |
| parent | 0cef1c3232e7b4e584e1f098f0eac63525128e59 (diff) | |
iio: light: noa1305: Assign val in noa1305_measure()
Make noa1305_measure() behave similar to noa1305_scale(), make it
assign the 'val' output variable on success and return IIO_VAL_INT.
This further simplifies noa1305_read_raw() and allows removal of
ret variable altogether.
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions