From patchwork Tue Jan 15 12:55:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1977841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 9020B3FE1F for ; Tue, 15 Jan 2013 13:08:56 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tv6A6-0000Ob-AW; Tue, 15 Jan 2013 13:02:42 +0000 Received: from mail-wi0-f179.google.com ([209.85.212.179]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tv64S-0006eL-6B for linux-arm-kernel@lists.infradead.org; Tue, 15 Jan 2013 12:56:59 +0000 Received: by mail-wi0-f179.google.com with SMTP id o1so60969wic.12 for ; Tue, 15 Jan 2013 04:56:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=65OSUay14X+NPNDXWqcXjnQ2t2CmfjPGhrRhupb1VOA=; b=daYl/CGBZUCe6vFcUR0wXZhWVQRcnvK9NMeD/+bVQcoc2GvDhfXsIGouTKzgKK0yvA wAzu1MUa2lZnfESdvYPBA7f2y3Io2XvK2wBpcLzLGZyk4xb1KpnyKAIWKzgXzFwmuhzb hwD/R/c/RZXP9SEtQdi/sPKw+tCzDupIJXCs4ZlTZFp2OqQZp+L110RlT7KBd1KBKvm3 9O7sNiff8hLk/kU7JgGdaXxC4nmJeOSRduTHoql3TwLvgOJdBgXRORyXNgEaFuJ4DR62 uI10kxGasGl+t8+5P+d7aTTqJzDWUAlmsZp6m6eTzbmsk0EPHyaIc+MVftsgdH4xdLJJ Hs2Q== X-Received: by 10.180.84.193 with SMTP id b1mr3497299wiz.26.1358254610128; Tue, 15 Jan 2013 04:56:50 -0800 (PST) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id eo10sm3672833wib.9.2013.01.15.04.56.48 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 04:56:49 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/26] mfd: ab8500-debugfs: Fix introduced compiler time warnings Date: Tue, 15 Jan 2013 12:55:54 +0000 Message-Id: <1358254566-12419-15-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1358254566-12419-1-git-send-email-lee.jones@linaro.org> References: <1358254566-12419-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlfB0RoL+amzty8g3BJMm92x7mRfRY64DT/XdbeeKU+83Oqi02KEja2R+IfoyprCu04aBmI X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130115_075652_539949_ECD809B6 X-CRM114-Status: GOOD ( 10.02 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.179 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linus.walleij@stericsson.com, arnd@arndb.de, Philippe Langlais , Philippe Langlais , Lee Jones , sameo@linux.intel.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Philippe Langlais Some simple fixes regarding pre-processor usage. Signed-off-by: Lee Jones Signed-off-by: Philippe Langlais --- drivers/mfd/ab8500-debugfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index 78a8e0c..7698d30 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c @@ -776,9 +776,9 @@ static ssize_t hwreg_common_write(char *b, struct hwreg_cfg *cfg, /* args are ok, update target cfg (mainly for read) */ *cfg = loc; -#if ABB_HWREG_DEBUG - pr_warn("HWREG request: %s, %s, addr=0x%08X, mask=0x%X, shift=%d - value=0x%X\n", (write) ? "write" : "read", +#ifdef ABB_HWREG_DEBUG + pr_warn("HWREG request: %s, %s, addr=0x%08X, mask=0x%X, shift=%d" + "value=0x%X\n", (write) ? "write" : "read", REG_FMT_DEC(cfg) ? "decimal" : "hexa", cfg->addr, cfg->mask, cfg->shift, val); #endif