Staging: iio: light: Use usleep_range instead of msleep
authorVaishali Thakkar <vthakkar1994@gmail.com>
Tue, 23 Sep 2014 03:52:30 +0000 (09:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 20:31:36 +0000 (13:31 -0700)
commit890d228fd901db88c4a79dbe8cd95aec8a0e57cd
tree4bc36094c8569dda45baa2cca010d2733074e58a
parent89021ecc8364e727a24b0683a74515c8ddf308db
Staging: iio: light: Use usleep_range instead of msleep

This patch fixes following checkpatch.pl warning:

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/light/isl29018.c