iio: tsl2583: correct values in integration_time_available
authorBrian Masney <masneyb@onstation.org>
Sun, 13 May 2018 00:20:39 +0000 (20:20 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 20 May 2018 09:29:28 +0000 (10:29 +0100)
commit4833dc4bb98ec40010957215b8127a454bbaea8e
tree07dd7442e067c70f059c4370d37f6a6570dea1a8
parentc06c4d793584b965bf5fa3fb107f6279643574e2
iio: tsl2583: correct values in integration_time_available

The times reported by the in_illuminance_integration_time_available
sysfs attribute are actually in milliseconds, not microseconds. This
patch corrects the times with the correct unit.

The fixes tag is inaccurate as the issue existed when the driver
was still in staging.   However, lots of changes occured before
it graduated so this is as a good a point as any for backports.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Fixes: f44d5c8ac399 ("staging: iio: tsl2583: move out of staging")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/tsl2583.c