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: 16422 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f199.google.com (mail-ye0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9D77B2397A for ; Fri, 26 Apr 2013 12:18:38 +0000 (UTC) Received: by mail-ye0-f199.google.com with SMTP id l3sf422321yen.2 for ; Fri, 26 Apr 2013 05:17:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=7vU4NcXu40AgRVkUCjZjlncNWmjYkcfxcH65c9SdsPg=; b=aS894w54XqpLzPW7Hvjx+xpAHjTgzFaK/Etgy7yzip4Aqn4sBfjse+c2mIBR8MTNUk BgYUz70Y5k3L6abqsMT/L3MxneGpEqWH/sEeiB1U3ClKMx3ttlBIHdt1eDrJvEVH6ysX KfVynqcpAaggJQY/MW8TKoT9lDXb+66J8Dlno/6dRQJ2oef4SJAieq3ziNomS5B0Bhnp +MAtt62/dlmHY5X3SVtPlk4n6CJtmp861jR6JHD/wadhjZeQ54BwwNcfUnlb1zoTcHno 4wF1XzytPcy1jV+veNdRn5Ab9A1nhluizAE0QbfeNb6Wq333UGv83qphdx/RnFi9bWar u1HA== X-Received: by 10.224.217.195 with SMTP id hn3mr30217037qab.5.1366978663078; Fri, 26 Apr 2013 05:17:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.48.131 with SMTP id l3ls1758171qen.54.gmail; Fri, 26 Apr 2013 05:17:42 -0700 (PDT) X-Received: by 10.220.103.209 with SMTP id l17mr8715616vco.39.1366978662875; Fri, 26 Apr 2013 05:17:42 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id gr7si5264964vdc.51.2013.04.26.05.17.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 05:17:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id m17so3682915vca.25 for ; Fri, 26 Apr 2013 05:17:42 -0700 (PDT) X-Received: by 10.52.71.4 with SMTP id q4mr24481733vdu.8.1366978662696; Fri, 26 Apr 2013 05:17:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp66014veb; Fri, 26 Apr 2013 05:17:42 -0700 (PDT) X-Received: by 10.204.60.10 with SMTP id n10mr18224559bkh.106.1366978661680; Fri, 26 Apr 2013 05:17:41 -0700 (PDT) Received: from mail-bk0-x22a.google.com (mail-bk0-x22a.google.com [2a00:1450:4008:c01::22a]) by mx.google.com with ESMTPS id ue2si3836798bkb.161.2013.04.26.05.17.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 05:17:41 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4008:c01::22a is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=2a00:1450:4008:c01::22a; Received: by mail-bk0-f42.google.com with SMTP id jc3so1721582bkc.15 for ; Fri, 26 Apr 2013 05:17:41 -0700 (PDT) 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Linus Walleij , Srinidhi Kasagar , Fabio Baltieri 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: ALoCoQlLaGFEWbD4iIZpwOJa8aidUtuGG4aBYzJpBs8qJVkx5YCk7iNIeB22m3QrVk+tLB5OrrZ9 X-Original-Sender: fabio.baltieri@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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) {