checkpatch: add test for #defines of ARCH_HAS_<foo>
authorJoe Perches <joe@perches.com>
Tue, 12 Nov 2013 23:10:09 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:24 +0000 (12:09 +0900)
commit52ea85061d188031c827ecef9bce47ae93f1e52e
tree613a13b5542918ea5a0b08c992bddcbd81453b76
parent11ea516a6c578564a65a352abb08ef558d365946
checkpatch: add test for #defines of ARCH_HAS_<foo>

Add a test for these #defines

Additionally, moved string_find_replace sub as it screws up subsequent
formatting when placed inside another sub.

Signed-off-by: Joe Perches <joe@perches.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl