From patchwork Fri Mar 15 20:43:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot] .checkpatch.conf: ignore udelay->usleep_range warnings Date: Fri, 15 Mar 2013 10:43:48 -0000 From: Matt Porter X-Patchwork-Id: 228173 Message-Id: <1363380228-7396-1-git-send-email-mporter@ti.com> To: U-Boot Mailing List usleep_range() is a Linux facility, ignore it when udelay() is encountered. Signed-off-by: Matt Porter --- .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