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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>

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 */

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux