From 2dfa3d0dae0a9d4bf9204e844628c624836c1e12 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 15 Mar 2019 20:52:14 +0100 Subject: [PATCH] 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 --- drivers/tty/serial/apbuart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index b1a80fd9ed8144..2b5f6a653d9a34 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c @@ -564,7 +564,7 @@ static int apbuart_probe(struct platform_device *op) apbuart_flush_fifo((struct uart_port *) port); - printk(KERN_INFO "grlib-apbuart at 0x%llx, irq %d\n", + dev_info(&pdev->pdev, "grlib-apbuart at 0x%llx, irq %d\n", (unsigned long long) port->mapbase, port->irq); return 0; }