summaryrefslogtreecommitdiff
path: root/drivers/iio/trigger
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-09-25 00:59:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-10-09 22:50:08 +0300
commit1e2ed3d0d27d80aa312b7b0081c0da56e04baeb9 (patch)
treea576b826c53f096cc405997e5ed956e7a1bc94a2 /drivers/iio/trigger
parent1540d0106bcbc4e52013d759a0a0752ae7b4a09d (diff)
downloadlinux-1e2ed3d0d27d80aa312b7b0081c0da56e04baeb9.tar.xz
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 'drivers/iio/trigger')
0 files changed, 0 insertions, 0 deletions