Browse Source

.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 12 năm trước cách đây
mục cha
commit
1d766c419e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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