diff options
author | Patrick Pannuto <ppannuto@codeaurora.org> | 2010-08-09 17:21:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 20:45:09 -0700 |
commit | 1a15a250862fda3fbdf8454cc7131e24de904e7c (patch) | |
tree | 23fab33bd014d426750ca486d0be7cf59d65eb31 /block | |
parent | 8bbea968f9022c3f66a36902509574597611be99 (diff) | |
download | linux-3.10-1a15a250862fda3fbdf8454cc7131e24de904e7c.tar.gz linux-3.10-1a15a250862fda3fbdf8454cc7131e24de904e7c.tar.bz2 linux-3.10-1a15a250862fda3fbdf8454cc7131e24de904e7c.zip |
checkpatch: prefer usleep_range over udelay
When possible, sleeping is (usually) better than delaying; however, don't
bother callers of udelay < 10us, as those cases are generally not worth
the switch to usleep
[akpm@linux-foundation.org: fix mismatched parentheses]
Signed-off-by: Patrick Pannuto <ppannuto@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions