From: Patrick Pannuto Date: Tue, 10 Aug 2010 00:21:01 +0000 (-0700) Subject: checkpatch: prefer usleep_range over udelay X-Git-Tag: v2.6.36-rc1~330 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a15a250862fda3fbdf8454cc7131e24de904e7c;p=pandora-kernel.git 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 Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed