Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp233905pxj; Fri, 28 May 2021 02:41:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaPiasLxzvjVn4BXKGzEIAIVjWwGfv4uZtoVn/kmkZFSGpsjGSmDihJG1Qz+BN6pGvH8cL X-Received: by 2002:a6b:d80b:: with SMTP id y11mr6519974iob.202.1622194871298; Fri, 28 May 2021 02:41:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622194871; cv=none; d=google.com; s=arc-20160816; b=ti8qVnGtBQzazNPiomFg1wHc531y5xbUI5uB7vjvUiiTOf5qzBDNuovBTaTxeWmeRG WLaeMJVFID3ocn32KAc5B6NPXni0EjIz19T0M5r7WKYCgR9Td5TF2k+ZzgTUe8N8+IkK AwCGWo+IKwxpcmvPCLhR+aMVV+U2h43Lq6qIjVQEFniqzYRCUbNzi48uNtafW/SbtNRm vaVQ/ZMVeS0wYt1OuBBZguSds6KKrjRV34X3CCJhEG2A/fGxyTayoS5dU4SmLA6WgRd+ uUIwg5WAwcE8GlE9hBdmH1br2cOPDqdsgZtIG/7jCPvNlJIKFFEvtp4NfvYTGviBzQF6 AbQg== 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; bh=Bqb3SiyPzsH3MN2fLnIg5DgOVJpwP+6JvWL6pl/wet0=; b=KofCc1TCUIP9UA3Xb01wYO2/nMlBhx/k4Zenc5uhSP9v7z5usqK1ZlX3/YqGQIezUQ OX0zagmLJZGe8OiuE2luoYi4jCnEl9ONL1lmNF4yttO1MGGcAKnI+GAktPKrdoBUFBbr +nptbxabIcCuUZNTsqzvBlX6E4TH663agUzuPU3cBxKpJq83NpOKOOcQlJtWqEk/TYgC Rn3g+nzM59wg8amgvtSKq5YV/mQSNgDwuj9n/HDbUacImfaI6EsZDtNoj0ufI2J+WxKh edMJXG8xIqa6YU7yKOBAYBVTEP5VKcMGMSAlI91mMIfBclXnveY+NSQhiI+fpAmH5eB/ IwnA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d20si5939315jak.40.2021.05.28.02.40.56; Fri, 28 May 2021 02:41:11 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235493AbhE1Jlk (ORCPT + 99 others); Fri, 28 May 2021 05:41:40 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:58648 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234456AbhE1Jlg (ORCPT ); Fri, 28 May 2021 05:41:36 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 555BE1C0B76; Fri, 28 May 2021 11:40:01 +0200 (CEST) Date: Fri, 28 May 2021 11:40:00 +0200 From: Pavel Machek To: Sakari Ailus Cc: Lee Jones , linux-kernel@vger.kernel.org, Laurent Pinchart , linux-leds@vger.kernel.org Subject: Re: [PATCH 05/15] leds: leds-as3645a: Fix function name 'as3645a_set_current()' Message-ID: <20210528094000.GB2209@amd> References: <20210528090629.1800173-1-lee.jones@linaro.org> <20210528090629.1800173-6-lee.jones@linaro.org> <20210528093150.GN3@paasikivi.fi.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: <20210528093150.GN3@paasikivi.fi.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > drivers/leds/leds-as3645a.c:198: warning: expecting prototype for as36= 45a_set_config(). Prototype was for as3645a_set_current() instead > >=20 > > 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(-) > >=20 > > 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 a= ddr) > > */ > > =20 > > /** > > - * 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, a= s well as >=20 > Thanks for the patch. >=20 > 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). I just took the patch, I'll happily take a follow up. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmCwunAACgkQMOfwapXb+vIDIQCdHkA8F8khXqwhmjMMcWMpsTtP aSgAoJuoZZk12F07SAqprrX+0qPKegcj =kGEW -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ--