Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp394345pxk; Wed, 23 Sep 2020 06:12:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmha7syi4oyt+JdayRyCRTRB/C4Vo0g8oWtp8zqzzBgOWLQxQBQ4Yp7C3PJDmWgZRFV/49 X-Received: by 2002:a17:906:e103:: with SMTP id gj3mr9972856ejb.153.1600866739683; Wed, 23 Sep 2020 06:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600866739; cv=none; d=google.com; s=arc-20160816; b=JxUV3OUCjre1LGhoIvF9VEbMlYFWz5dnizymO9DTJM8WesU/RLMLy9H9oObiHxffg6 pYnfEzJheb1MV0WcrclrPZjI4rDHMuSH5B1bajwUaD+rio+5gqVrLHpXPFBIq2y2sg3P mwz3KySa35f9F5aTl4pnsT0Eyks+TZUcDqtjm5iarCseXqFki1sFQQekG134qHnT879j mkLvAaMKZcLaY5Tl/5IpNNrDZEKZk7tzW+yo75OFEZ33d4Jid558i+n02MicCD3h/+m7 uUlrtKO7DkuLlqiD7rN1hUG9NUuvrL95+53lBvEBGua6NdoOFqxgHIU7cOBl3ueiEeyn hh1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=p78gW4RhT6zyBKA05iKSkcLrqWD9y1828VsOJH/tos4=; b=pIxvFtWPgQ4/LXEsJ29mSrz4DTPn1XmCcPeC4+G81hGa2AQaSOuCLyAzpKXYgogDS9 GJqzoVoNTLah28SvJBvwQ+IwSEA9bGZlkcb4woYZ7IXmg0Q/OfvIF9C9gBmOQfuq8pOW AoPrYQd3i5M/lzrMWK7eKzYlsBgAgbh+/oOWIPz6JRFwOIEzngfS65oFOt7xi7/9n1YT Ltp1OnCXaf0ftnKiZtozONRvES65TG97EGCQgzrqG+EbqozejH12EjTlVbuBNPGBdZ+P zoJI9suXu/JoIlyYbTpucs3bpMrdPSYq4IBERi5YTd8N4Mk7NmhwN+Lnk0wnOelq41Xu abMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Wzm1zYP9; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si12982500ejk.275.2020.09.23.06.11.51; Wed, 23 Sep 2020 06:12:19 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Wzm1zYP9; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726565AbgIWNKo (ORCPT + 99 others); Wed, 23 Sep 2020 09:10:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:57732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbgIWNKo (ORCPT ); Wed, 23 Sep 2020 09:10:44 -0400 Received: from localhost (otava-0257.koleje.cuni.cz [78.128.181.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3BFA421BE5; Wed, 23 Sep 2020 13:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600866644; bh=gPdtthN3zIEZHEiesBpvqVcc10/UOJSsYkiCJAIbYLs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Wzm1zYP9v2PTIk7Xs9sw/0GVCkbSwfBwhRlLIuHi+HBgikqBuq26zK7SrTKu0BCgR zftdOlt/JBusm9XIZVx4DQ769ne4sJ0bIpjrpuFhVLVAHHnC3Ucnk3ktBvq8vzCRhp tIQGVGdp90kVMM3bUwp2QAo/FG5fwUQo/a5Sjpy0= Date: Wed, 23 Sep 2020 15:10:40 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Dan Murphy Cc: , , Subject: Re: [PATCH 2/2] leds: lm36274: Fix warning for undefined parameters Message-ID: <20200923151040.2237af86@kernel.org> In-Reply-To: <20200922190638.5323-2-dmurphy@ti.com> References: <20200922190638.5323-1-dmurphy@ti.com> <20200922190638.5323-2-dmurphy@ti.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Sep 2020 14:06:38 -0500 Dan Murphy wrote: > Fix warnings for undefined parameters when building with W=3D1. >=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) Reviewed-by: Marek Beh=C3=BAn