]> 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>
Sat, 17 May 2014 13:18:32 +0000 (23:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 17 May 2014 13:18:32 +0000 (23:18 +1000)
commitbd6891c82f2b0a2a5003cb7dcaa85de3b6cbd7db
tree2badaef06ad9a907e4cc23e06d1f5a8cfcbbd06b
parentbdd061d97482f2c65728635ae7c9c4f641824a64
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