Переглянути джерело

.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