git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b12d0a
)
Staging: iio: accel: Replace msleep with usleep for given range
author
Darshana Padmadas
<darshanapadmadas@gmail.com>
Sat, 20 Sep 2014 15:14:24 +0000
(20:44 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 22 Sep 2014 14:58:47 +0000
(07:58 -0700)
This patch fixes checkpatch.pl warning:
WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
As per Documentation/timers/timers-howto.txt usleep_range should be used
for sleeping for 10us-20ms
Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found