Skip to content

Commit 968d6bc

Browse files
committed
drivers: tty: serial: sunzilog: use dev_info() instead of printk()
Using dev_info() instead of printk() for more consistent output. (prints device name, etc). Signed-off-by: Enrico Weigelt <[email protected]>
1 parent 12f8942 commit 968d6bc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/tty/serial/sunzilog.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -1489,14 +1489,12 @@ static int zs_probe(struct platform_device *op)
14891489
}
14901490
uart_inst++;
14911491
} else {
1492-
printk(KERN_INFO "%s: Keyboard at MMIO 0x%llx (irq = %d) "
1492+
dev_info(&op->dev, "Keyboard at MMIO 0x%llx (irq = %d) "
14931493
"is a %s\n",
1494-
dev_name(&op->dev),
14951494
(unsigned long long) up[0].port.mapbase,
14961495
op->archdata.irqs[0], sunzilog_type(&up[0].port));
1497-
printk(KERN_INFO "%s: Mouse at MMIO 0x%llx (irq = %d) "
1496+
dev_info(&op->dev, "Mouse at MMIO 0x%llx (irq = %d) "
14981497
"is a %s\n",
1499-
dev_name(&op->dev),
15001498
(unsigned long long) up[1].port.mapbase,
15011499
op->archdata.irqs[0], sunzilog_type(&up[1].port));
15021500
kbm_inst++;

0 commit comments

Comments
 (0)