checkpatch: prefer dev_<level>( to dev_printk(KERN_<LEVEL>
authorJoe Perches <joe@perches.com>
Fri, 22 Feb 2013 00:44:13 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:26 +0000 (17:22 -0800)
commitdc1393130b026908c54d4538abbb5c2badbfabbe
tree4185d47c7dcf7d2a5c4922fe759e0a203ffb484a
parent5dc49c75a26b99e86a18441e0b64c1f7c7c6a500
checkpatch: prefer dev_<level>( to dev_printk(KERN_<LEVEL>

Add YA check to printk style.

dev_<level> uses are functions and generate smaller
object code than dev_printk(KERN_<LEVEL>.

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