[OPW,kernel] staging: media: lirc: Replaced printk macro with dev_info(dev,....) in lirc_imon.c
diff mbox

Message ID 1382557661-8490-1-git-send-email-archanakumari959@gmail.com
State Accepted
Headers show

Commit Message

Archana kumari Oct. 23, 2013, 7:47 p.m. UTC
This patch replaces printk macro with dev_info(dev,....)
in lirc_imon.c

Signed-off-by: Archana kumari <archanakumari959@gmail.com>
---
 drivers/staging/media/lirc/lirc_imon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rusty Russell Oct. 24, 2013, 2:47 a.m. UTC | #1
Archana kumari <archanakumari959@gmail.com> writes:
> This patch replaces printk macro with dev_info(dev,....)
> in lirc_imon.c
>
> Signed-off-by: Archana kumari <archanakumari959@gmail.com>

Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>

Cheers,
Rusty.

> ---
>  drivers/staging/media/lirc/lirc_imon.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c
> index 4afa7da..ab2ae11 100644
> --- a/drivers/staging/media/lirc/lirc_imon.c
> +++ b/drivers/staging/media/lirc/lirc_imon.c
> @@ -625,7 +625,7 @@ static void imon_incoming_packet(struct imon_context *context,
>  	}
>  
>  	if (debug) {
> -		printk(KERN_INFO "raw packet: ");
> +		dev_info(dev, "raw packet: ");
>  		for (i = 0; i < len; ++i)
>  			printk("%02x ", buf[i]);
>  		printk("\n");
> -- 
> 1.8.1.2
>
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Patch
diff mbox

diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c
index 4afa7da..ab2ae11 100644
--- a/drivers/staging/media/lirc/lirc_imon.c
+++ b/drivers/staging/media/lirc/lirc_imon.c
@@ -625,7 +625,7 @@  static void imon_incoming_packet(struct imon_context *context,
 	}
 
 	if (debug) {
-		printk(KERN_INFO "raw packet: ");
+		dev_info(dev, "raw packet: ");
 		for (i = 0; i < len; ++i)
 			printk("%02x ", buf[i]);
 		printk("\n");