diff options
| author | Stefan Brüns <[email protected]> | 2017-09-24 23:59:17 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-10-09 20:50:08 +0100 |
| commit | 1e2ed3d0d27d80aa312b7b0081c0da56e04baeb9 (patch) | |
| tree | a576b826c53f096cc405997e5ed956e7a1bc94a2 /tools/perf/scripts/python | |
| parent | 1540d0106bcbc4e52013d759a0a0752ae7b4a09d (diff) | |
iio: light: vl6180: Move range check to integration time setter, cleanup
This improves code uniformity (range checks for als_gain are also done
in the setter). Also unmangle rounding and calculation of register value.
The calculated integration time it_ms is required in the next patch of
the series.
Signed-off-by: Stefan Brüns <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions