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 <info@metux.net>
  • Loading branch information
metux committed Jun 12, 2019
1 parent 0d92aa1 commit bce516c
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 bce516c

Please sign in to comment.