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 <festevam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fabio Estevam 2019-06-04 00:31:39 -03:00 committed by Greg Kroah-Hartman
parent 9edaf50b37
commit f5a9e5f7dd

View File

@ -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);
}
}