* [PATCH] video: s3c-fb: use pr_debug instead of printk
@ 2012-05-07 0:20 Jingoo Han
2012-05-13 20:51 ` Florian Tobias Schandinat
0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2012-05-07 0:20 UTC (permalink / raw)
To: linux-fbdev
This patch uses pr_debug instead of printk to allow dynamic debugging.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] video: s3c-fb: use pr_debug instead of printk
2012-05-07 0:20 [PATCH] video: s3c-fb: use pr_debug instead of printk Jingoo Han
@ 2012-05-13 20:51 ` Florian Tobias Schandinat
0 siblings, 0 replies; 2+ messages in thread
From: Florian Tobias Schandinat @ 2012-05-13 20:51 UTC (permalink / raw)
To: linux-fbdev
On 05/07/2012 12:20 AM, Jingoo Han wrote:
> This patch uses pr_debug instead of printk to allow dynamic debugging.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Applied.
Thanks,
Florian Tobias Schandinat
> ---
> 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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-13 20:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-07 0:20 [PATCH] video: s3c-fb: use pr_debug instead of printk Jingoo Han
2012-05-13 20:51 ` Florian Tobias Schandinat
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.