From patchwork Mon Jan 7 04:55:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13859 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A6C2B23E1F for ; Mon, 7 Jan 2013 05:03:31 +0000 (UTC) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by fiordland.canonical.com (Postfix) with ESMTP id 6718FA186B8 for ; Mon, 7 Jan 2013 05:03:31 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id fa15so18909201vbb.1 for ; Sun, 06 Jan 2013 21:03:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=A7fJAFt5biCfBVP5CQqMKs0fOfSi3JnanDaMP2VptA4=; b=Hpey5Ns9DVhksGRTubvOIOn8mw0zjA50i6S0ct4S3w3AZI5PIomj2ocjVuupHITWWo N+sVZhDJgFzE8r6pE44xD1mDZlCNoXplaegve/zU7E2WmxyODU/66UeRBKto+xoid2Wf RjYBKGxfKOJxlyeaOsyILWcPRSSHuhsmdk0KKkjxgus8bFntufXFNPHnmsGzWSr2KNfm U20DPdDawcyH0mH+ros1tPoL/arXh3oI7JJlbJaec0WT2FcaeBj+wYSAjDERaMyQBBgq qJxod1g6LOpxVzP/X/61Iou2rrjAYdx8Q3nkhCPEIJMG0RXnhpZY7FkCNpH9oSj+FIK4 xZxw== X-Received: by 10.52.18.207 with SMTP id y15mr70903440vdd.8.1357535010906; Sun, 06 Jan 2013 21:03:30 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp46180veb; Sun, 6 Jan 2013 21:03:30 -0800 (PST) X-Received: by 10.66.83.134 with SMTP id q6mr174825958pay.34.1357535009859; Sun, 06 Jan 2013 21:03:29 -0800 (PST) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id rz7si6351887pbc.192.2013.01.06.21.03.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Jan 2013 21:03:29 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pa0-f44.google.com with SMTP id hz11so10432690pad.3 for ; Sun, 06 Jan 2013 21:03:29 -0800 (PST) X-Received: by 10.68.131.8 with SMTP id oi8mr183034786pbb.29.1357535009503; Sun, 06 Jan 2013 21:03:29 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id i1sm37992462pav.35.2013.01.06.21.03.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Jan 2013 21:03:28 -0800 (PST) From: Sachin Kamat To: linux-serial@vger.kernel.org Cc: gregkh@linuxfoundation.org, alan@linux.intel.com, jslaby@suse.cz, shawn.guo@linaro.org, s.hauer@pengutronix.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 4/5] serial: imx: Use pr_info instead of printk Date: Mon, 7 Jan 2013 10:25:05 +0530 Message-Id: <1357534506-30206-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1357534506-30206-1-git-send-email-sachin.kamat@linaro.org> References: <1357534506-30206-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkQNEHSQN2VKpTnA9/TFtbaElAH+sQRtDualSMzgCE4rcKyXKKSnHOiHM7gqnJ7W9vFbdiL Silences checkpatch warnings. Cc: Shawn Guo Cc: Sascha Hauer Signed-off-by: Sachin Kamat --- 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 9bec8a2..78f7936 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)