Commit 50bbdba3 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

serial: imx: Use pr_info instead of printk

Silences checkpatch warnings.

Cc: Shawn Guo <shawn.guo@linaro.org>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 699cbd67
...@@ -1301,7 +1301,7 @@ imx_console_get_options(struct imx_port *sport, int *baud, ...@@ -1301,7 +1301,7 @@ imx_console_get_options(struct imx_port *sport, int *baud,
} }
if (*baud != baud_raw) if (*baud != baud_raw)
printk(KERN_INFO "Serial: Console IMX rounded baud rate from %d to %d\n", pr_info("Console IMX rounded baud rate from %d to %d\n",
baud_raw, *baud); baud_raw, *baud);
} }
} }
...@@ -1595,7 +1595,7 @@ static int __init imx_serial_init(void) ...@@ -1595,7 +1595,7 @@ static int __init imx_serial_init(void)
{ {
int ret; int ret;
printk(KERN_INFO "Serial: IMX driver\n"); pr_info("Serial: IMX driver\n");
ret = uart_register_driver(&imx_reg); ret = uart_register_driver(&imx_reg);
if (ret) if (ret)
......
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