]> git.baikalelectronics.ru Git - kernel.git/commit
drivers:iio:light:isl29125: added macros for sensing range
authorBijosh Thykkoottathil <bijosh.t@hotmail.com>
Mon, 27 Jun 2016 15:37:41 +0000 (15:37 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Jul 2016 09:19:54 +0000 (10:19 +0100)
commitd2c342242a8729f9344dae9839ddbe8d88901589
tree94d80b3e4c27e803320b3be6ee211b3b9a53326e
parent43816378f1acf5a0ebefebccb42c6c2db9ee2d58
drivers:iio:light:isl29125: added macros for sensing range

Added macros for sensing range as the corresponding magic numbers
were used at multiple places.
   - ISL29125_SENSING_RANGE_0 for 375 lux full range
   - ISL29125_SENSING_RANGE_1 for 10k lux full range

Signed-off-by: Bijosh Thykkoottathil <bijosh.t@hotmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/isl29125.c