video: s3c-fb: use pr_debug instead of printk
PATCH 1/1 video: s3c-fb: use pr_debug instead of printk
This patch uses pr_debug instead of printk to allow dynamic debugging.
Signed-off-by Jingoo Han <[email protected]>
--- drivers/video/s3c-fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/s3c-fb.c +1 -1
@@ -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 */
Signature · 1 line
1.7.1
Florian Tobias Schandinat
AppliedQuoted 3 lines · Jingoo Han
This patch uses
pr_debuginstead of printk to allow dynamic debugging.Signed-off-by Jingoo Han <[email protected]>
Applied.
Thanks,
Florian Tobias Schandinat
Quoted 17 lines
--- drivers/video/s3c-fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/video/s3c-fb.c +1
-1@@ -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 */