]> git.sur5r.net Git - u-boot/commitdiff
.checkpatch.conf: ignore udelay->usleep_range warnings
authorMatt Porter <mporter@ti.com>
Fri, 15 Mar 2013 10:43:48 +0000 (10:43 +0000)
committerTom Rini <trini@ti.com>
Wed, 27 Mar 2013 19:30:11 +0000 (15:30 -0400)
usleep_range() is a Linux facility, ignore it when udelay()
is encountered.

Signed-off-by: Matt Porter <mporter@ti.com>
.checkpatch.conf

index 38386b354dadd99596a4b3efcb9d97d24508412c..d88af57129a82cf1b8cf772e9ca02d7c7a20efbb 100644 (file)
@@ -15,3 +15,6 @@
 
 # enable more tests
 --strict
+
+# Not Linux, so we don't recommend usleep_range() over udelay()
+--ignore USLEEP_RANGE