Skip to content

Commit

Permalink
serial: imx: Use pr_info instead of printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent 699cbd6 commit 50bbdba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/tty/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 50bbdba

Please sign in to comment.