]> git.karo-electronics.de Git - karo-tx-linux.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)
commit60b1addba2de4267bfd07ce7e769b30e9f074c2a
tree94d80b3e4c27e803320b3be6ee211b3b9a53326e
parent90efe05562921768d34e44c0292703ea3168ba8d
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