]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: prefer dev_<level>( to dev_printk(KERN_<LEVEL>
authorJoe Perches <joe@perches.com>
Wed, 20 Feb 2013 02:15:34 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:19 +0000 (16:53 +1100)
commitdd30e02141ac5989bdd8e57d2d7d44854d6ce350
tree4d4f952fc8a311ea9eaed4c257a6d5fd251e5e22
parentbe382d757273b02c28e12fa657e8b12dc6dbd807
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>
scripts/checkpatch.pl