From: Fabio Estevam Date: Tue, 4 Jun 2019 03:31:39 +0000 (-0300) Subject: serial: imx: Use dev_info() instead of pr_info() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f5a9e5f7dd8c5ff0c32e6f86d56955aab64d6057;p=linux.git serial: imx: Use dev_info() instead of pr_info() dev_info() is more appropriate for printing messages inside drivers, so switch to dev_info(). Signed-off-by: Fabio Estevam Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 8b752e8950537..d8eadab024462 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2015,7 +2015,7 @@ imx_uart_console_get_options(struct imx_port *sport, int *baud, } if (*baud != baud_raw) - pr_info("Console IMX rounded baud rate from %d to %d\n", + dev_info(sport->port.dev, "Console IMX rounded baud rate from %d to %d\n", baud_raw, *baud); } }