Skip to contentSkip to conversation

Input: jornada720_kbd - switch to using dev_dbg

PATCH New Dmitry Torokhov 1 participant 1 message Aug 19, 2016

Subsystems (2)
lore
Share & tools
lore

Dmitry Torokhov

author maintainer
#0 lore raw

PATCH 1/1 Input: jornada720_kbd - switch to using dev_dbg

Switch to using dev_dbg instead of naked printk so that output is uniform with the other driver messages in the kernel.

---
 drivers/input/keyboard/jornada720_kbd.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/input/keyboard/jornada720_kbd.c +2 -4
index 6483404..fd8e15e 100644
@@ -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);
Signature · 5 lines
2.8.0.rc3.226.g39d4020


-- 
Dmitry