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: 14063 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 52E3023E2E for ; Tue, 15 Jan 2013 12:56:52 +0000 (UTC) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by fiordland.canonical.com (Postfix) with ESMTP id 0F4ABA192C6 for ; Tue, 15 Jan 2013 12:56:51 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id s24so53039vbi.36 for ; Tue, 15 Jan 2013 04:56:51 -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=65OSUay14X+NPNDXWqcXjnQ2t2CmfjPGhrRhupb1VOA=; b=fiPZTFciWMaChEBScX2MZALTYKGVnLdDfZp1iIIrFErEuIASFPovJYE7SajaCczZZd 5Fbu4lSgiAgP6MPfHeza68esjzS36Z5seIJ7e5aBm6GhOvoFShI9kVNwRv8V9XccurSD wVoPE5cKUAJXnovqzYNJfMZJD63nca7hxjX9s7pb/Cl+x4jGuPbRRwHbwpqm7qpH5iiR 2daBjQq7N5nBXdnZjfhJ90KxqK8bItaENlHI1O9W1R91ZYIZ5omr2DD+RKXMG8eozRR9 SXQmvKEQKxYMGUZz8aBcAefTmDj8tGgofe7NjNg2jT3k45cQw0jQDwd0WP7o5uUqxX5a c2Nw== X-Received: by 10.220.8.18 with SMTP id f18mr103194373vcf.14.1358254611522; Tue, 15 Jan 2013 04:56:51 -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 st5csp110609veb; Tue, 15 Jan 2013 04:56:51 -0800 (PST) X-Received: by 10.180.73.80 with SMTP id j16mr3592816wiv.5.1358254610631; Tue, 15 Jan 2013 04:56:50 -0800 (PST) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx.google.com with ESMTPS id bf3si3382691wib.11.2013.01.15.04.56.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 04:56:50 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.51 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.51; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.51 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f51.google.com with SMTP id gg4so40914wgb.6 for ; Tue, 15 Jan 2013 04:56:50 -0800 (PST) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, sameo@linux.intel.com, Philippe Langlais , Lee Jones , Philippe Langlais 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: ALoCoQmPRUnpU4wyZbvpv2yBIaAOsZ11xGpMEuMFCbZMA9OUAv2aNymEicigb9r7lsj+xmLP4CZQ 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