Skip to content

Commit 822f94f

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 <info@metux.net>
1 parent 49a6c14 commit 822f94f

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
@@ -564,7 +564,7 @@ static int apbuart_probe(struct platform_device *op)
564564

565565
apbuart_flush_fifo((struct uart_port *) port);
566566

567-
printk(KERN_INFO "grlib-apbuart at 0x%llx, irq %d\n",
567+
dev_info(&pdev->pdev, "grlib-apbuart at 0x%llx, irq %d\n",
568568
(unsigned long long) port->mapbase, port->irq);
569569
return 0;
570570
}

0 commit comments

Comments
 (0)