diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-07 05:55:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-16 07:02:52 +0100 |
commit | 50bbdba3dd67f2b5958816f6a9460205cd14866a (patch) | |
tree | ad293657df9b755d9c6d114b68312d58060f7718 /drivers/tty | |
parent | serial: imx: Fix coding style issue (diff) | |
download | linux-50bbdba3dd67f2b5958816f6a9460205cd14866a.tar.xz linux-50bbdba3dd67f2b5958816f6a9460205cd14866a.zip |
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/imx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 9bec8a23687a..78f793617e4f 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -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) |