Skip to content

Commit 9a9cfba

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/apbuart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ static int apbuart_probe(struct platform_device *op)
568568

569569
apbuart_flush_fifo((struct uart_port *) port);
570570

571-
printk(KERN_INFO "grlib-apbuart at 0x%llx, irq %d\n",
571+
dev_info(&pdev->pdev, "grlib-apbuart at 0x%llx, irq %d\n",
572572
(unsigned long long) port->mapbase, port->irq);
573573
return 0;
574574
}

0 commit comments

Comments
 (0)