CHROMIUM: staging: iio: TAOS tsl258x: Modify driver for 2.6.32

Modify the 3.0.0 upstream tsl2583 driver to support chromium os
2.6.32 attribute names and config. "SENSOR_TSL2583"

BUG=chrome-os-partner:4315
TEST=Shine a flashlight onto the light sensor while using this new driver.
watch -n 0.5 cat /sys/class/iio/device0/lux
Ensure that lux value reported does not hit 0 when the bright light is on
the sensor. Instead, it should top off at 65535.

Change-Id: I580fc68bd56aff366dcf0eefacfcc41541579d0a
Signed-off-by: Benson Leung <bleung@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/1944
Reviewed-by: Bryan Freed <bfreed@chromium.org>
3 files changed