summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
diff options
context:
space:
mode:
authorMatt Porter <mporter@ti.com>2013-03-15 10:43:48 +0000
committerTom Rini <trini@ti.com>2013-03-27 15:30:11 -0400
commit1d766c419e6666d2e06c3b419b65c98fbc621a09 (patch)
treebf089b6756eb91c339acbc39c6842c2a60c8bd0e /.checkpatch.conf
parent0cab42110dbfe7e96172077367af1838d6cc5d0a (diff)
.checkpatch.conf: ignore udelay->usleep_range warnings
usleep_range() is a Linux facility, ignore it when udelay() is encountered. Signed-off-by: Matt Porter <mporter@ti.com>
Diffstat (limited to '.checkpatch.conf')
-rw-r--r--.checkpatch.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
index 38386b354d..d88af57129 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -15,3 +15,6 @@
# enable more tests
--strict
+
+# Not Linux, so we don't recommend usleep_range() over udelay()
+--ignore USLEEP_RANGE