From patchwork Fri Dec 7 15:09:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Holger Brunck X-Patchwork-Id: 204524 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 2FCFC2C054B for ; Sat, 8 Dec 2012 02:21:34 +1100 (EST) Received: by ozlabs.org (Postfix) id D69072C0156; Sat, 8 Dec 2012 02:20:37 +1100 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from mail-de.keymile.com (mail-de.keymile.com [195.8.104.1]) by ozlabs.org (Postfix) with SMTP id 221862C0109 for ; Sat, 8 Dec 2012 02:20:36 +1100 (EST) Received: from mailrelay.de.keymile.net ([10.9.1.54]) by eSafe SMTP Relay 1354890801; Fri, 07 Dec 2012 16:09:34 +0100 Received: from pc005093.de.keymile.net.de.keymile.net (pc005093.de.keymile.net.de.keymile.net [172.30.2.67]) by mailrelay.de.keymile.net (8.12.2/8.12.2) with ESMTP id qB7F853D021547; Fri, 7 Dec 2012 16:08:07 +0100 (MET) From: Holger Brunck To: linuxppc-dev@ozlabs.org Subject: [PATCH 2/5] powerpc/83xx: fix checkpatch warnings for km83xx.c Date: Fri, 7 Dec 2012 16:09:13 +0100 Message-Id: <1354892956-14623-2-git-send-email-holger.brunck@keymile.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1354892956-14623-1-git-send-email-holger.brunck@keymile.com> References: <1354892956-14623-1-git-send-email-holger.brunck@keymile.com> X-ESAFE-STATUS: [srvhellgate.de.keymile.net] Mail allowed Cc: Holger Brunck X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Signed-off-by: Holger Brunck cc: Kumar Gala --- arch/powerpc/platforms/83xx/km83xx.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/platforms/83xx/km83xx.c b/arch/powerpc/platforms/83xx/km83xx.c index 89923d7..cb6460c 100644 --- a/arch/powerpc/platforms/83xx/km83xx.c +++ b/arch/powerpc/platforms/83xx/km83xx.c @@ -28,8 +28,8 @@ #include #include -#include -#include +#include +#include #include #include #include @@ -88,15 +88,13 @@ static void __init mpc83xx_km_setup_arch(void) np_par = of_find_node_by_name(NULL, "par_io"); if (np_par == NULL) { - printk(KERN_WARNING "%s couldn;t find par_io node\n", - __func__); + pr_warn("%s couldn;t find par_io node\n", __func__); return; } /* Map Parallel I/O ports registers */ ret = of_address_to_resource(np_par, 0, &res); if (ret) { - printk(KERN_WARNING "%s couldn;t map par_io registers\n", - __func__); + pr_warn("%s couldn;t map par_io registers\n", __func__); return; }