diff options
| author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2017-09-24 23:59:17 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-10-09 20:50:08 +0100 |
| commit | 1e2ed3d0d27d80aa312b7b0081c0da56e04baeb9 (patch) | |
| tree | a576b826c53f096cc405997e5ed956e7a1bc94a2 /scripts/patch-kernel | |
| 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 <stefan.bruens@rwth-aachen.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
