]> 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>
Thu, 22 May 2014 00:43:38 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:38 +0000 (10:43 +1000)
commitdb479c2511ffcdc1d675935d1be382580a2d0d68
treec094ede4a09dfda923293922c13d06f29bc0d1f5
parentfc0d9ba39e1aeb9071a5111c74d5f53ca85a79b5
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