Skip to content

Commit b0b76e6

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 8744d7f commit b0b76e6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/tty/serial/sunzilog.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,14 +1487,12 @@ static int zs_probe(struct platform_device *op)
14871487
}
14881488
uart_inst++;
14891489
} else {
1490-
printk(KERN_INFO "%s: Keyboard at MMIO 0x%llx (irq = %d) "
1490+
dev_info(&op->dev, "Keyboard at MMIO 0x%llx (irq = %d) "
14911491
"is a %s\n",
1492-
dev_name(&op->dev),
14931492
(unsigned long long) up[0].port.mapbase,
14941493
op->archdata.irqs[0], sunzilog_type(&up[0].port));
1495-
printk(KERN_INFO "%s: Mouse at MMIO 0x%llx (irq = %d) "
1494+
dev_info(&op->dev, "Mouse at MMIO 0x%llx (irq = %d) "
14961495
"is a %s\n",
1497-
dev_name(&op->dev),
14981496
(unsigned long long) up[1].port.mapbase,
14991497
op->archdata.irqs[0], sunzilog_type(&up[1].port));
15001498
kbm_inst++;

0 commit comments

Comments
 (0)