Commit 9edaf50b authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman

serial: fsl_lpuart: Use dev_info() instead of printk()

dev_info() is more appropriate for printing messages inside drivers, so
switch to dev_info().
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9315ad99
...@@ -2078,7 +2078,7 @@ lpuart_console_get_options(struct lpuart_port *sport, int *baud, ...@@ -2078,7 +2078,7 @@ lpuart_console_get_options(struct lpuart_port *sport, int *baud,
baud_raw = uartclk / (16 * (sbr + brfa / 32)); baud_raw = uartclk / (16 * (sbr + brfa / 32));
if (*baud != baud_raw) if (*baud != baud_raw)
printk(KERN_INFO "Serial: Console lpuart rounded baud rate" dev_info(sport->port.dev, "Serial: Console lpuart rounded baud rate"
"from %d to %d\n", baud_raw, *baud); "from %d to %d\n", baud_raw, *baud);
} }
...@@ -2121,7 +2121,7 @@ lpuart32_console_get_options(struct lpuart_port *sport, int *baud, ...@@ -2121,7 +2121,7 @@ lpuart32_console_get_options(struct lpuart_port *sport, int *baud,
baud_raw = uartclk / (16 * sbr); baud_raw = uartclk / (16 * sbr);
if (*baud != baud_raw) if (*baud != baud_raw)
printk(KERN_INFO "Serial: Console lpuart rounded baud rate" dev_info(sport->port.dev, "Serial: Console lpuart rounded baud rate"
"from %d to %d\n", baud_raw, *baud); "from %d to %d\n", baud_raw, *baud);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment