checkpatch: check compatible strings in .c and .h too
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Thu, 3 Apr 2014 21:49:26 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:15 +0000 (16:21 -0700)
commit7dd05b38e5b729f412b617baad5c3363519cf1d4
treea4ed04a8352d646b84d29961dbfe0ea0ebbd74be
parent4fbf32a69346afc87ac1ddceb92c860d644433f9
checkpatch: check compatible strings in .c and .h too

Look for ".compatible = "foo" strings not only in .dts files, but
in .c and .h too.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Cc: Joe Perches <joe@perches.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl