ソースを参照

.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>
Matt Porter 11 年 前
コミット
1d766c419e
1 ファイル変更3 行追加0 行削除
  1. 3 0
      .checkpatch.conf

+ 3 - 0
.checkpatch.conf

@@ -15,3 +15,6 @@
 
 # enable more tests
 --strict
+
+# Not Linux, so we don't recommend usleep_range() over udelay()
+--ignore USLEEP_RANGE