From: Sachin Kamat Date: Mon, 7 Jan 2013 04:55:05 +0000 (+0530) Subject: serial: imx: Use pr_info instead of printk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50bbdba3dd67f2b5958816f6a9460205cd14866a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git serial: imx: Use pr_info instead of printk Silences checkpatch warnings. Cc: Shawn Guo Acked-by: Sascha Hauer Signed-off-by: Sachin Kamat Signed-off-by: Greg Kroah-Hartman --- 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)