[U-Boot] [PATCH] .checkpatch.conf: ignore udelay->usleep_range warnings
Matt Porter
mporter at ti.com
Fri Mar 15 21:43:48 CET 2013
usleep_range() is a Linux facility, ignore it when udelay()
is encountered.
Signed-off-by: Matt Porter <mporter at ti.com>
---
.checkpatch.conf | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.checkpatch.conf b/.checkpatch.conf
index 38386b3..d88af57 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
--
1.7.9.5
More information about the U-Boot
mailing list