Thread (2 messages) 2 messages, 2 authors, 2012-05-13

[PATCH] video: s3c-fb: use pr_debug instead of printk

STALE5257d

From: Jingoo Han <hidden>
Date: 2012-05-07 00:20:09
Subsystem: framebuffer layer, the rest · Maintainers: Helge Deller, Linus Torvalds

This patch uses pr_debug instead of printk to allow dynamic debugging.

Signed-off-by: Jingoo Han <redacted>
---
 drivers/video/s3c-fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
index ecb82bb..038546a 100644
--- a/drivers/video/s3c-fb.c
+++ b/drivers/video/s3c-fb.c
@@ -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 */
-- 
1.7.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help