From: Matt Porter <mporter@ti.com>
Date: Fri, 15 Mar 2013 10:43:48 +0000 (+0000)
Subject: .checkpatch.conf: ignore udelay->usleep_range warnings
X-Git-Tag: v2025.01-rc5-pxa1908~16345
X-Git-Url: http://git.dujemihanovic.xyz/img/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=1d766c419e6666d2e06c3b419b65c98fbc621a09;p=u-boot.git

.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>
---

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