Replaced printk with pr_debug in dprintk

Signed-off-by: Abel Moyo <abelmoyo...@gmail.com>
---
 drivers/staging/media/lirc/lirc_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/lirc/lirc_serial.c 
b/drivers/staging/media/lirc/lirc_serial.c
index 181b92b..86c5274 100644
--- a/drivers/staging/media/lirc/lirc_serial.c
+++ b/drivers/staging/media/lirc/lirc_serial.c
@@ -116,7 +116,7 @@ static bool txsense;        /* 0 = active high, 1 = active 
low */
 #define dprintk(fmt, args...)                                  \
        do {                                                    \
                if (debug)                                      \
-                       printk(KERN_DEBUG LIRC_DRIVER_NAME ": " \
+                       pr_debug(LIRC_DRIVER_NAME ": "          \
                               fmt, ## args);                   \
        } while (0)
 
-- 
1.8.5.5

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to