summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c-fb.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-05-07 02:20:09 +0200
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-05-13 15:06:26 +0200
commit65302e48ce51cb5c2d7e577a89b47918950da457 (patch)
treec99c605d518bd0374c702ebc16a7c07c3817e77e /drivers/video/s3c-fb.c
parentvideo: exynos_dp: remove unnecessary header includes (diff)
downloadlinux-65302e48ce51cb5c2d7e577a89b47918950da457.tar.xz
linux-65302e48ce51cb5c2d7e577a89b47918950da457.zip
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 <jg1.han@samsung.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to '')
-rw-r--r--drivers/video/s3c-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
index 70aff118b76e..5f9d8e69029e 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 */