mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 03:42:52 +00:00
serial: imx: Use pr_info instead of printk
Silences checkpatch warnings. Cc: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
699cbd6726
commit
50bbdba3dd
@ -1301,7 +1301,7 @@ imx_console_get_options(struct imx_port *sport, int *baud,
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
@ -1595,7 +1595,7 @@ static int __init imx_serial_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
printk(KERN_INFO "Serial: IMX driver\n");
|
||||
pr_info("Serial: IMX driver\n");
|
||||
|
||||
ret = uart_register_driver(&imx_reg);
|
||||
if (ret)
|
||||
|
Loading…
Reference in New Issue
Block a user