]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: media: lirc: lirc_imon.c: replace printk by dev_dbg
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Sun, 26 Oct 2014 17:39:27 +0000 (19:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 07:36:36 +0000 (15:36 +0800)
This patch replaces the calls to printk by dev_dbg.

Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_imon.c

index e4cfbe34e56d5c0f742da60a073d4af4fcd184ba..e3b1fa9fd2f46a7584044f422acd2e78421a5103 100644 (file)
@@ -600,8 +600,8 @@ static void imon_incoming_packet(struct imon_context *context,
        if (debug) {
                dev_info(dev, "raw packet: ");
                for (i = 0; i < len; ++i)
-                       printk("%02x ", buf[i]);
-               printk("\n");
+                       dev_dbg(dev, "%02x ", buf[i]);
+               dev_dbg(dev, "\n");
        }
 
        /*