From patchwork Fri Apr 26 12:17:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 2493351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 16EB0DF230 for ; Fri, 26 Apr 2013 12:18:30 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVhbL-0000MD-7j; Fri, 26 Apr 2013 12:18:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVhb9-0002Vv-PS; Fri, 26 Apr 2013 12:17:55 +0000 Received: from mail-bk0-x22f.google.com ([2a00:1450:4008:c01::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVhaz-0002Tn-Cq for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2013 12:17:46 +0000 Received: by mail-bk0-f47.google.com with SMTP id ji1so1662275bkc.6 for ; Fri, 26 Apr 2013 05:17:41 -0700 (PDT) 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=7vU4NcXu40AgRVkUCjZjlncNWmjYkcfxcH65c9SdsPg=; b=iwNQVMw9HdUPPPmmmaxoUSPuvawcwKb6NhX9EjyFcZunTngcg8+ygJ2KyYAdHAWhnz k39kqQAeJ31W7Ie2TAEH8I5ZmXO4T+anPAGgerCh9iTT10JZ/pgqJm3JGIGbyumY2PkR G12yXRv7RdsWq7DH5j5g4W+zLQXF0A/1ps/URcB5d/toN3+7kItcYy8QIV4qT0J9rbgE hdkIRP/yMjeF1y9Qetgwo4MlYanEDWagzVxMV8VBngF7YzpOJ7lTatPPyNA6WfaBV9uf WHOEtRcOTDxbzZgrNpuCBoa9wVM+h+BxZGgK4L0rhBIA6fH8kGmw0Luc1i/T3GFAQnJH UNwA== X-Received: by 10.204.224.15 with SMTP id im15mr18343528bkb.120.1366978661064; Fri, 26 Apr 2013 05:17:41 -0700 (PDT) Received: from localhost ([2a01:2003:1:1f50:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPSA id f14sm3131600bky.16.2013.04.26.05.17.35 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 26 Apr 2013 05:17:40 -0700 (PDT) From: Fabio Baltieri To: Samuel Ortiz Subject: [PATCH 1/5] mfd: abx500-core: fix sparse warning Date: Fri, 26 Apr 2013 14:17:14 +0200 Message-Id: <1366978638-967-2-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1366978638-967-1-git-send-email-fabio.baltieri@linaro.org> References: <1366978638-967-1-git-send-email-fabio.baltieri@linaro.org> X-Gm-Message-State: ALoCoQkA49TOyCsJdZIgAyHjwzfeeNs5ZeK6aT+YismYNQQ3Sz+QtEBSAy/CnShKg6WQseoFSbkz X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130426_081745_647561_716112E1 X-CRM114-Status: GOOD ( 10.41 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Srinidhi Kasagar , Fabio Baltieri , Linus Walleij , linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fix sparse warning: drivers/mfd/abx500-core.c:159:38: warning: Using plain integer as NULL pointer Signed-off-by: Fabio Baltieri --- drivers/mfd/abx500-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/abx500-core.c b/drivers/mfd/abx500-core.c index 9818afb..3714acb 100644 --- a/drivers/mfd/abx500-core.c +++ b/drivers/mfd/abx500-core.c @@ -156,7 +156,7 @@ EXPORT_SYMBOL(abx500_startup_irq_enabled); void abx500_dump_all_banks(void) { struct abx500_ops *ops; - struct device dummy_child = {0}; + struct device dummy_child = {NULL}; struct abx500_device_entry *dev_entry; list_for_each_entry(dev_entry, &abx500_list, list) {