Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2022609pxb; Thu, 11 Feb 2021 02:09:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzZmSEevbpxYabW7M0ORN4QpX/hzdchazg4URC6/ym9Is3VRv706hDMJKzzN2hznCtQfLd X-Received: by 2002:a7b:c2a9:: with SMTP id c9mr4516792wmk.116.1613038182166; Thu, 11 Feb 2021 02:09:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613038182; cv=none; d=google.com; s=arc-20160816; b=cEWR47HtphRGMLF5DzD6+BGkDkzEFOL2zRuaX5ByHSy+lGzNjGDmnkxQKBuxXwcB77 3R493b2XoD50gqiwMr8Qi4MN74nOO289sC+rKesTfLmte+Q5pEVLbE0pcLpP8QMnaiZI IpJL/N9917VJy7Tt6KynnoW9MCedcVzsfRMqg20LNJEgG/6JiQ/klWFl8MfKRbRgOtIP C+ahpFjLOxwGzTT5KqChnvITMcmwLauYL0aS0eVt87/hsWaZt87t0cAzFvP+geTXF+ts 6TFAnnyXUIsTAS93gWyGw13efbQ49UaWsqZf9Wo9T79jXJbxePq9/U/g2INVdzkI99n4 P0zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=eeMJSCblT1p0TOiBEUAjvfSv8ttwzy/lb6Th6n73F0o=; b=t86iPtuozWmCE5n0WPtn578cPvdi61g/MZ47ynEr1Zk2PXxBjD7i9Ysv9V9GEx7aSI MiJj9eHZ38PkWh0DIdBENKFfu2Z7O1LuJReDwgAPqMWPVKcJVHZ+KPIymsIs+91Fcenu pOga8Jr2oj5ejHHQ/LW7fAB5CvWTI3mUjMtZ+r6IN+qCjFjimXtu4iMs60L3LNganwyF 9CNN6ozE+xwU8yUA2ZRY4nfbPHXgNSgHyQhEcgqm3K7waOgtnOsqyhoE90PBZnqen6Fs OQxxfSLIG54Yz7mWvdhYK+hdXTjbIwBdHb4L6avAxYLNwXLCAdkzm+AiJuv8qAPbL7rz Orrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=Qpwm6jQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si3507829edj.442.2021.02.11.02.09.19; Thu, 11 Feb 2021 02:09:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=Qpwm6jQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230242AbhBKKIu (ORCPT + 99 others); Thu, 11 Feb 2021 05:08:50 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:42450 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230353AbhBKKHm (ORCPT ); Thu, 11 Feb 2021 05:07:42 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11BA6n7U010983; Thu, 11 Feb 2021 04:06:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=eeMJSCblT1p0TOiBEUAjvfSv8ttwzy/lb6Th6n73F0o=; b=Qpwm6jQfNhjEu8H9Vy3AG3Rbzle6lBhHY9gqHGXeAG0x7qun4oBTfhnkcKx5qnC4Ezvn 3VohhYXS2AHPtG+4NhtdQLhbtDS87JVy1wicacUiQTZRKyzA3yytiOpDrQakMtQwr9Qv 0XyZv36sjiGa/r8jtgP9k69vQcZDRrchJXITde6Xwov3k4nyRp80lULtEWVXjMPdlp6J 2Bwyh4wXIUjh2vBDxyiBiqnHgMlpFfRaJWl/cim50p+H00FBL0nE6+LVyxKcyq60o2PT jwEcX3GoJI1lyw4ZhV8c/wbzTENbisyEes0Xqc1tPUq5CvX3nVB1B4gW5O6E9V7uAwK6 5g== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 36hrv2efce-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 11 Feb 2021 04:06:49 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 11 Feb 2021 10:06:47 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Thu, 11 Feb 2021 10:06:47 +0000 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id A908611CF; Thu, 11 Feb 2021 10:06:47 +0000 (UTC) Date: Thu, 11 Feb 2021 10:06:47 +0000 From: Charles Keepax To: Wei Yongjun CC: Hulk Robot , Lee Jones , Hans de Goede , , Subject: Re: [PATCH -next] mfd: arizona: Make some symbols static Message-ID: <20210211100647.GY106851@ediswmail.ad.cirrus.com> References: <20210210075626.1096193-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210210075626.1096193-1-weiyongjun1@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=815 suspectscore=0 impostorscore=0 clxscore=1011 bulkscore=0 adultscore=0 malwarescore=0 spamscore=0 phishscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102110089 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 10, 2021 at 07:56:26AM +0000, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/mfd/arizona-spi.c:28:31: warning: > symbol 'reset_gpios' was not declared. Should it be static? > drivers/mfd/arizona-spi.c:29:31: warning: > symbol 'ldoena_gpios' was not declared. Should it be static? > > Those symbols are not used outside of arizona-spi.c, so this > commit marks them static. > > Fixes: e933836744a2 ("mfd: arizona: Add support for ACPI enumeration of WM5102 connected over SPI") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun > --- Acked-by: Charles Keepax Thanks, Charles