video: s3c-fb: use pr_debug instead of printk
authorJingoo Han <jg1.han@samsung.com>
Mon, 7 May 2012 00:20:09 +0000 (09:20 +0900)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 13 May 2012 13:06:26 +0000 (13:06 +0000)
This patch uses pr_debug instead of printk to allow dynamic debugging.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/s3c-fb.c

index 70aff11..5f9d8e6 100644 (file)
@@ -47,7 +47,7 @@
 #ifdef CONFIG_FB_S3C_DEBUG_REGWRITE
 #undef writel
 #define writel(v, r) do { \
-       printk(KERN_DEBUG "%s: %08x => %p\n", __func__, (unsigned int)v, r); \
+       pr_debug("%s: %08x => %p\n", __func__, (unsigned int)v, r); \
        __raw_writel(v, r); \
 } while (0)
 #endif /* FB_S3C_DEBUG_REGWRITE */