]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Input: jornada720_kbd - switch to using dev_dbg
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Aug 2016 17:03:59 +0000 (10:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Aug 2016 21:17:19 +0000 (14:17 -0700)
Switch to using dev_dbg instead of naked printk so that output is uniform
with the other driver messages in the kernel.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/jornada720_kbd.c

index 648340439d5fa15b7d490ea678371545f8a29dc5..fd8e15ea9149a72c489dc934a2cf26e7166a4ce0 100644 (file)
@@ -65,10 +65,8 @@ static irqreturn_t jornada720_kbd_interrupt(int irq, void *dev_id)
        jornada_ssp_start();
 
        if (jornada_ssp_inout(GETSCANKEYCODE) != TXDUMMY) {
-               printk(KERN_DEBUG
-                       "jornada720_kbd: "
-                       "GetKeycode command failed with ETIMEDOUT, "
-                       "flushed bus\n");
+               dev_dbg(&pdev->dev,
+                       "GetKeycode command failed with ETIMEDOUT, flushed bus\n");
        } else {
                /* How many keycodes are waiting for us? */
                count = jornada_ssp_byte(TXDUMMY);