Revert "checkpatch: reject unrelaxed readl/writel."

This reverts commit 66b2a3733e7219e5291c633eb5778bec6500b74d.

Possibly can happen after necessary code changes are in place.

Change-Id: I04e092158dda2b5f5ca029378d1e7dc863de6001
Signed-off-by: David Brown <davidb@codeaurora.org>
(cherry picked from commit 4235f0aeb789321b36eb01f29ffb329fc9d2169c)
This commit is contained in:
David Brown 2011-03-18 20:20:25 -07:00 committed by Stephen Boyd
parent 31fbea03d9
commit d0d4b63246

View file

@ -3219,13 +3219,6 @@ sub process {
"Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $herecurr);
}
# readl & writel are unsafe, use the _relaxed variants
if ($line =~ /\b((?:read|write)l)\b/) {
ERROR("Use of $1 is deprecated: use $1_relaxed\n\t" .
"with appropriate memory barriers instead.\n" .
$herecurr);
}
# warn about #if 0
if ($line =~ /^.\s*\#\s*if\s+0\b/) {
WARN("if this code is redundant consider removing it\n"