Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp229899pxj; Fri, 28 May 2021 02:34:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhhjfE0bVDfbCEKpyZ4MrimgcKZPVdCWy4mgqtmr45oFFDWCR07YZcRCnrgVqF55Ly5PdR X-Received: by 2002:a92:c54a:: with SMTP id a10mr6395315ilj.140.1622194455711; Fri, 28 May 2021 02:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622194455; cv=none; d=google.com; s=arc-20160816; b=rCZS2rekbQtw0Ido5jlW7iHRw1zPvU2ntd+Ifl0h1tDhcVKGFp9v+BPq+ZlVsvFCp9 y7hhg/1lrViy/94QsMkHwS5dgIOxebiCLYHYNct9RvwWJjrp5SwEIoTaKnG75UhdPsGK a3J9cXhAOd0I+60KubHAyIUK/cPzBqe8eMu56UnaqLAzz6V7VtCBUzfR//dr2Lk6b8yJ 9NOqspKekKdNgZRtBk6SfwqtYqomamw0ylNgg+ssNGnbHM+1/opaX9VEm6iasldSu6Pj G3mPDQS0yIM2+fuPr0Jv8Tk1fB3C2y8f7hZby4fGf1+TzwesKRa8tbyAtVU5vpvgMYZq oJtA== 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 :ironport-sdr:ironport-sdr; bh=R0ueozheHvaC0y3AVCkiewA4yOr1/MuC3Q11rp6HCgE=; b=U45/SSDRdKqaxlu26Thp3MQNWXWsjnfwvKA9mHddK+nFEfmTTkKOEWzXiMil7mMrXV t+BLJKf5na+u287Ja85PxGMSFFCOb/r2cnA9CIDd3s+YP37wy2WdxxGSOZXHIqKNPKJe Y1n3xtfLgpwMdNQwwPhVP3eOvYfb3Z9scIJyY22gr7o77WYpSYkG+VQMJgO8jGDdth7U zY6mu24/f/xSUHwD29SZvv2ZdR95Fkc2CQry6vAJp06QkxiqvSuojJ0wpzqKTtcgLuQp n3GPmseFLy9D2KnbS3on2IrRhwqPvkSuyWaviNM7lGc5wBD5nECDFLkgkV2PKC47N6eh Bueg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si6170629ilm.45.2021.05.28.02.34.02; Fri, 28 May 2021 02:34:15 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233765AbhE1Jdb (ORCPT + 99 others); Fri, 28 May 2021 05:33:31 -0400 Received: from mga12.intel.com ([192.55.52.136]:63888 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbhE1Jd3 (ORCPT ); Fri, 28 May 2021 05:33:29 -0400 IronPort-SDR: rd9JKdBpjZoO4pdsteUnKyqyXls5iy66ay4As1pLnczxgejOfz6cc5reVM4UipvACGpmR5aVIP WmaDQF8LvNtA== X-IronPort-AV: E=McAfee;i="6200,9189,9997"; a="182588124" X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="182588124" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2021 02:31:55 -0700 IronPort-SDR: eOvRP1Wcyudl8jebpfyNVAeRlikWPc6SvEcQa0J4i3ECKV0lVPl7X6d353InsFTc09f6Q24Hy/ NsKsuExFQRIA== X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="436881295" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2021 02:31:53 -0700 Received: from paasikivi.fi.intel.com (localhost [127.0.0.1]) by paasikivi.fi.intel.com (Postfix) with SMTP id DC31E202F7; Fri, 28 May 2021 12:31:50 +0300 (EEST) Date: Fri, 28 May 2021 12:31:50 +0300 From: Sakari Ailus To: Lee Jones Cc: linux-kernel@vger.kernel.org, Pavel Machek , Laurent Pinchart , linux-leds@vger.kernel.org Subject: Re: [PATCH 05/15] leds: leds-as3645a: Fix function name 'as3645a_set_current()' Message-ID: <20210528093150.GN3@paasikivi.fi.intel.com> References: <20210528090629.1800173-1-lee.jones@linaro.org> <20210528090629.1800173-6-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210528090629.1800173-6-lee.jones@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On Fri, May 28, 2021 at 10:06:19AM +0100, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/leds/leds-as3645a.c:198: warning: expecting prototype for as3645a_set_config(). Prototype was for as3645a_set_current() instead > > Cc: Sakari Ailus > Cc: Pavel Machek > Cc: Laurent Pinchart > Cc: linux-leds@vger.kernel.org > Signed-off-by: Lee Jones > --- > drivers/leds/leds-as3645a.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/leds-as3645a.c > index e8922fa033796..c41937ff8fd33 100644 > --- a/drivers/leds/leds-as3645a.c > +++ b/drivers/leds/leds-as3645a.c > @@ -185,7 +185,7 @@ static int as3645a_read(struct as3645a *flash, u8 addr) > */ > > /** > - * as3645a_set_config - Set flash configuration registers > + * as3645a_set_current - Set flash configuration registers > * @flash: The flash > * > * Configure the hardware with flash, assist and indicator currents, as well as Thanks for the patch. The entire comment could be removed. It's wrong and doesn't really tell more than what you can read in the two functions below (the two are result of splitting one the documentation was written for). -- Kind regards, Sakari Ailus