summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/light
diff options
context:
space:
mode:
authorMichael Welling <mwelling@ieee.org>2014-04-09 21:26:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-14 08:29:29 -0700
commit7fe704ce6af8f5996ebde436afdb9fa2599a7384 (patch)
tree4a4dcfbc47a6bd0d70546f7b3af84ea90eb4a78f /drivers/staging/iio/light
parentb47b894c6002d36ac93e4cc82139c7e7157a0f19 (diff)
Staging: iio: Switch from msleep to usleep range per timers-howto.txt
Signed-off-by: Michael Welling <mwelling@ieee.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/light')
-rw-r--r--drivers/staging/iio/light/tsl2583.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/light/tsl2583.c b/drivers/staging/iio/light/tsl2583.c
index f015fb4c09a8..fa9649879662 100644
--- a/drivers/staging/iio/light/tsl2583.c
+++ b/drivers/staging/iio/light/tsl2583.c
@@ -451,7 +451,7 @@ static int taos_chip_on(struct iio_dev *indio_dev)
}
}
- msleep(3);
+ usleep_range(3000, 3500);
/* NOW enable the ADC
* initialize the desired mode of operation */
utmp = TSL258X_CNTL_PWR_ON | TSL258X_CNTL_ADC_ENBL;