serial: imx: Use pr_info instead of printk
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 7 Jan 2013 04:55:05 +0000 (10:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 06:02:52 +0000 (22:02 -0800)
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>
drivers/tty/serial/imx.c

index 9bec8a23687aee8f3b2cc980bd13a1e6fe1ff398..78f793617e4f8d272202cb9ead9a4b23f1098ff0 100644 (file)
@@ -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)