From patchwork Tue Jan 15 12:55:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14061 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 F241523E2E for ; Tue, 15 Jan 2013 12:56:48 +0000 (UTC) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by fiordland.canonical.com (Postfix) with ESMTP id ACD29A192C6 for ; Tue, 15 Jan 2013 12:56:48 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id fl17so52405vcb.40 for ; Tue, 15 Jan 2013 04:56:48 -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=2Plr12/ra8AuVYnSBVcpfqI2GTz8T0behYnVHBiBKDE=; b=IFuii4a99SzW9FDuzR24tYVg/yQ0A3u1EYE1uOv4lhlvX7al0RM7GDYWFVBTC/CEEd LdY/xUf21IKVvAa4Io6cfEciiXzS1srt7F0w8W2jhB7jNvOxAEi1FoCLFdnns2nJcuMD Lbb4Yt6nnv2AsGYAIj1Nn4ZLY+fuOWLSKb/Z5E9bAII0cmXd4SUY2z04ubjLJXPio2z+ o1w/IezQQBwvTN/KQrFxFtIWbqA6mx9tJvcw6raFmORpIn8EttSfU2y5GesVIIt/AiVV /wu4SEeXcRmZYV1Ed1PhPr94VeIKLqji0UqDyfNMxPTGdCiRXMCAlqS5in6OrB4Mv+mF e4bg== X-Received: by 10.52.88.168 with SMTP id bh8mr89831077vdb.51.1358254608234; Tue, 15 Jan 2013 04:56:48 -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 st5csp110607veb; Tue, 15 Jan 2013 04:56:47 -0800 (PST) X-Received: by 10.180.95.135 with SMTP id dk7mr3556175wib.29.1358254607357; Tue, 15 Jan 2013 04:56:47 -0800 (PST) Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]) by mx.google.com with ESMTPS id t6si9134588wjw.34.2013.01.15.04.56.47 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 04:56:47 -0800 (PST) Received-SPF: neutral (google.com: 2a00:1450:400c:c00::22a is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c00::22a; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c00::22a 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-f42.google.com with SMTP id dr1so1850055wgb.3 for ; Tue, 15 Jan 2013 04:56:47 -0800 (PST) X-Received: by 10.194.77.13 with SMTP id o13mr141701449wjw.58.1358254606945; Tue, 15 Jan 2013 04:56:46 -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.45 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 04:56:46 -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, Lee Jones , Mark Brown Subject: [PATCH 12/26] mfd: ab8500-debugfs: Use NULL to initialise remaining NULL pointer Date: Tue, 15 Jan 2013 12:55:52 +0000 Message-Id: <1358254566-12419-13-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: ALoCoQl5L2cQroXu3VV4TfG8VbI2fTBgLp67KGuEPRhuya97urrLmWeKJFQnoyxNoStzQeb/uH+V Partly for coding style reasons, but mostly because sparse warns on it. This patch is a completion of a previous patch my Mark Brown. Cc: Mark Brown Signed-off-by: Lee Jones --- drivers/mfd/ab8500-debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index 03eacf1..4f36907 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c @@ -60,7 +60,7 @@ struct ab8500_prcmu_ranges { static struct ab8500_prcmu_ranges debug_ranges[AB8500_NUM_BANKS] = { [0x0] = { .num_ranges = 0, - .range = 0, + .range = NULL, }, [AB8500_SYS_CTRL1_BLOCK] = { .num_ranges = 3,