linux/drivers/staging/iio/light
Bryan Freed 014fcb1db5 iio: light sensor: Improve granularity of tsl2583 lux values.
When illuminance0_calibbias gets 4000 (for a 4x multiplier), we see lux
granularity of 4.  Reversing the order of the right shift and multiplication
retains the precision of the unadjusted lux value.

Signed-off-by: Bryan Freed <bfreed@chromium.org>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-08 11:30:24 -08:00
..
Kconfig staging: iio: Move sensor drivers to sub menus 2011-09-26 17:31:50 -07:00
Makefile staging: iio: TAOS tsl258x: Device driver 2011-04-25 17:22:07 -07:00
isl29018.c staging:iio:treewide only use shared to decide on interfaces 2011-11-26 16:35:04 -08:00
tsl2563.c staging:iio:treewide only use shared to decide on interfaces 2011-11-26 16:35:04 -08:00
tsl2563.h Staging: iio: tsl2563 ambient light sensor driver 2009-12-11 12:23:19 -08:00
tsl2583.c iio: light sensor: Improve granularity of tsl2583 lux values. 2011-12-08 11:30:24 -08:00