iio: light: opt3001: extract int. time constants
authorAlexander Koch <mail@alexanderkoch.net>
Sat, 16 Jan 2016 16:14:36 +0000 (17:14 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 30 Jan 2016 16:26:12 +0000 (16:26 +0000)
commit564cff826fd14b8a2f71e663dec8e53b2243a836
tree0059b1ec3628945354f941ca00e7045d285af26e
parentb6acb0cfc21293a1bfc283e9217f58f7474ef728
iio: light: opt3001: extract int. time constants

Extract integration times as #define constants. This prepares using them
for delay/timeout length determination.

Signed-off-by: Alexander Koch <mail@alexanderkoch.net>
Signed-off-by: Michael Hornung <mhornung.linux@gmail.com>
Tested-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/opt3001.c