Skip to content

Commit

Permalink
drivers: tty: serial: apbuart: use dev_info() instead of printk()
Browse files Browse the repository at this point in the history
Using dev_err() instead of printk() for more consistent output.
(prints device name, etc).

Signed-off-by: Enrico Weigelt <[email protected]>
  • Loading branch information
metux committed Apr 27, 2019
1 parent 03b63c7 commit a9ba180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/apbuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,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;
}
Expand Down

0 comments on commit a9ba180

Please sign in to comment.