]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/plist.c: replace pr_debug with printk in plist_test()
authorDan Streetman <ddstreet@ieee.org>
Wed, 14 May 2014 00:02:30 +0000 (10:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:02:30 +0000 (10:02 +1000)
commitcf1a0bd92cb249458b49d00459cdc7750c6d9548
tree6eadc94c45c1db790fc23529f007c800b0409ad9
parent922b96ba57bb45c5c3be27f81015089e10fa98d7
lib/plist.c: replace pr_debug with printk in plist_test()

Replace pr_debug() in lib/plist.c test function plist_test() with
printk(KERN_DEBUG ...).

Without DEBUG defined, pr_debug() is complied out, but the entire
plist_test() function is already inside CONFIG_DEBUG_PI_LIST, so printk
should just be used directly.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/plist.c