Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp268487pxk; Thu, 24 Sep 2020 05:23:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCRfFxFnP9mtWb3zhxTh641JZW46nu7FNcxJyOGpofpJCRDARXZTSfSbRgMDG8pFuxVsiN X-Received: by 2002:a17:906:14c9:: with SMTP id y9mr735427ejc.523.1600950222619; Thu, 24 Sep 2020 05:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600950222; cv=none; d=google.com; s=arc-20160816; b=owvUihGDmgUQ/9Jp9KvpLXfNYGZ73lAhUvdA7Qm75cAWQlkog4yky2WjVfrUQXSfdp s3aOQAWG0cMBZF7oLy/h6W3e6uSTFFSkS/8RcyRVEYZpsx9xkZZPruHZInYRBEPEAze/ 3aw4bMZ4lKtNaTvBHc81WIaK+n8nManqSZi+LL+2NE4pP3vHPzOBEbzxkr3z/tBNFapM VNb6jz8IDnKhk0SX+dpZ/G6ThhABS+DIdK5rZV6UD/+X2FB3WxI73cYYHoNIvagv2WZB BG7uyH+6c3u19iG+IOVZEUVKC1GvOQyXkr/8VXECSp3MGp180rABQjVWTJoGCBDAX/A+ 5fkg== 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=9fANoW8PuLkEaWXIPqT71ggVU9DjVjFqMbfcPGEn3GA=; b=zaI4KUs/LQn08TNCP0lD+YGVRQIo4xM/+ZjUGx5jzyT5kXTFWYp29nWPt0wQ0ZpmpX Uoj0nQdJ8mn2xvtmwnORsZ7zkXX9x8DqJioN00ho/1SrKCYjbDohsBheKfpawF0kA6N/ Iymfx8Entwwv+RDhhK+cpY2iO87JyvGvjqb0zEsC/WUbSw+knNnqlWrDv/cN6aKJe8CB gyHa7jcm7qg29MM82A5FajH3QA6pi2KEBfaPeFJ6JXh4+OzFSkQPZwDWhk1awFPWoIan 6Q/IvS06ihIfFLDpjWGdDr7IvkKsB+RZ6u1TP/hmr+TQC0lG6jiBJLuWwEQVdjR154B1 sxTg== 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 bu14si2061909edb.128.2020.09.24.05.23.18; Thu, 24 Sep 2020 05:23:42 -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 S1727608AbgIXMTe (ORCPT + 99 others); Thu, 24 Sep 2020 08:19:34 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:37206 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727449AbgIXMTe (ORCPT ); Thu, 24 Sep 2020 08:19:34 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id EED1C1C0BCB; Thu, 24 Sep 2020 14:19:31 +0200 (CEST) Date: Thu, 24 Sep 2020 14:19:31 +0200 From: Pavel Machek To: Dan Murphy Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, marek.behun@nic.cz Subject: Re: [PATCH 2/2] leds: lm36274: Fix warning for undefined parameters Message-ID: <20200924121931.GG3933@duo.ucw.cz> References: <20200922190638.5323-1-dmurphy@ti.com> <20200922190638.5323-2-dmurphy@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Cp3Cp8fzgozWLBWL" Content-Disposition: inline In-Reply-To: <20200922190638.5323-2-dmurphy@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Cp3Cp8fzgozWLBWL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2020-09-22 14:06:38, Dan Murphy wrote: > Fix warnings for undefined parameters when building with W=3D1. > It also adds of_match_table. I guess that's okay. I'll remove the fixes tags as I don't believe these need to go to stable. Best regards, Pavel =20 > Fixes: 11e1bbc116a75 ("leds: lm36274: Introduce the TI LM36274 LED driver= ") > Signed-off-by: Dan Murphy > --- > drivers/leds/leds-lm36274.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/leds/leds-lm36274.c b/drivers/leds/leds-lm36274.c > index 10a63b7f2ecc..bf6487e9a1f4 100644 > --- a/drivers/leds/leds-lm36274.c > +++ b/drivers/leds/leds-lm36274.c > @@ -26,8 +26,8 @@ > * @lmu_data: Register and setting values for common code > * @regmap: Devices register map > * @dev: Pointer to the devices device struct > - * @led_sources - The LED strings supported in this array > - * @num_leds - Number of LED strings are supported in this array > + * @led_sources: The LED strings supported in this array > + * @num_leds: Number of LED strings are supported in this array > */ > struct lm36274 { > struct platform_device *pdev; > @@ -163,6 +163,7 @@ static struct platform_driver lm36274_driver =3D { > .probe =3D lm36274_probe, > .driver =3D { > .name =3D "lm36274-leds", > + .of_match_table =3D of_lm36274_leds_match, > }, > }; > module_platform_driver(lm36274_driver) > --=20 > 2.28.0 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --Cp3Cp8fzgozWLBWL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX2yO0wAKCRAw5/Bqldv6 8lQ9AJsGzVOGQ0FpAYHwJm2pqZhnS8ibNQCfcdKYbqBU6TSpmVLxQEaP97LqiOc= =SguN -----END PGP SIGNATURE----- --Cp3Cp8fzgozWLBWL--