]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b46af098d50ff6b15b06fddada5e0145bf2deed
tree4bc36094c8569dda45baa2cca010d2733074e58a
parent15d9fadd342185c06e56a9a80a5a23bcc92fa2b6
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