Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7421020rwl; Thu, 23 Mar 2023 04:13:38 -0700 (PDT) X-Google-Smtp-Source: AK7set8PzG7ENB+LYdqi/tBrbEtbEdCIRP8z/phrOcu51iBy1K4Hc1em3XlZgTbWB7R/2F90Vt4t X-Received: by 2002:a62:84d1:0:b0:628:1852:8431 with SMTP id k200-20020a6284d1000000b0062818528431mr6537641pfd.30.1679570017798; Thu, 23 Mar 2023 04:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679570017; cv=none; d=google.com; s=arc-20160816; b=v6SLZfqJdCRc+sdh71IMahOhtSrmpDHHsSGJu55mfWmyipH1ny7stV/lLJjeqAWOVU CmgYKajeXsHxcCJzi8aH/ySONSzncR7M0fgDqzTQrBMBWziyJ/n18ILCF9uUb5gMtSnQ mcaZWMOrcGs+Uvw2WvFOARJYkomZdLyLbsiXn+aC+n6iCs/xKDNHMBup51mPtG/YDubm BrEpBInVX+UOIgViq3L9CY2t+jhX3FbjyL9bsnKpIzKjqQn9SX3Rgb1bg1vfJVx8axOX nf+iS841b90FHFq4MPxS74X7PtQe7GXk7mZjLmeBmDm4sW3A3UtFrHlb3TuHPNLAce/f yAOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WHWvB2BCrhNpAxUENSUrqYP89+RL/RBUZ+NXm8frba8=; b=lKhpIHhTN+xvfS11A47cZiTnF40OEm/bVdjYKD7IO0BVtpLsBxitSODzzR6PVQ6bJ8 bIxxMjwu+6zW68rVIzdE/Fi+99hZIOlynmmucXrBbQO0L/Kvtd5pq1Fn87xIkIAq2R+1 hexmjYKSv/srPtsK/+PlOc6scP1UJO/KscmLAuEUfxscn0gBXm8LHXzg6kxiuS8RaN59 LAxf4/OhAMC7Ns5Z/XhobUePyQpcZZkqV/Hg9S7p6qUONcd0XDFG6RDf580eu9i+V7mb Mf70bSNjSQkyQDEV4TkafVx3S5ZK9sFv//FexlWYlMgORjlp6g5/hC75zCDSmeCRVFmd /ilA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=CI3SgRLI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a639211000000b0050c03dc7259si17915534pgd.844.2023.03.23.04.13.19; Thu, 23 Mar 2023 04:13:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=CI3SgRLI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231312AbjCWLGh (ORCPT + 99 others); Thu, 23 Mar 2023 07:06:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231307AbjCWLGd (ORCPT ); Thu, 23 Mar 2023 07:06:33 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFDA32DE63; Thu, 23 Mar 2023 04:06:30 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 336311C0E45; Thu, 23 Mar 2023 12:06:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1679569588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WHWvB2BCrhNpAxUENSUrqYP89+RL/RBUZ+NXm8frba8=; b=CI3SgRLIYP4QJzssz6eJ0C4AV++fiYbDZC+7RtL4sed/LIeaP8rO8ao3fuSkUxSEod93bl WkIuNBZAOeL6YLS7aZ5Ej4/ApvOJOD7WC74YbyZwdXTJbhlqFlshoHWf3stuGGiKxKOsxq Mtp3Wtgln32v7JmdkNKu5rptqFhWfaA= Date: Thu, 23 Mar 2023 12:06:27 +0100 From: Pavel Machek To: Lukas Bulwahn Cc: Alice Chen , ChiYuan Huang , ChiaEn Wu , Jacek Anaszewski , Lee Jones , linux-leds@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: rgb: mt6370: correct config name to select in LEDS_MT6370_RGB Message-ID: References: <20230323105410.10396-1-lukas.bulwahn@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KU4ZDhGjr3zhG3Ut" Content-Disposition: inline In-Reply-To: <20230323105410.10396-1-lukas.bulwahn@gmail.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --KU4ZDhGjr3zhG3Ut Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Commit 55a8a5c16eb3 ("leds: rgb: mt6370: Add MediaTek MT6370 current sink > type LED Indicator support") introduces the config LEDS_MT6370_RGB, which > selects the non-existing config LINEAR_RANGE. As the driver includes > linux/linear_range.h, it is a safe guess that the config actually intends > to select LINEAR_RANGES, which provides the library implementation for the > function prototypes defined in the linear_range header file. >=20 > Correct this naming confusion in the LEDS_MT6370_RGB config > definition. Looks good. Acked-by: Pavel Machek Best regards, Pavel > +++ b/drivers/leds/rgb/Kconfig > @@ -29,7 +29,7 @@ config LEDS_QCOM_LPG > config LEDS_MT6370_RGB > tristate "LED Support for MediaTek MT6370 PMIC" > depends on MFD_MT6370 > - select LINEAR_RANGE > + select LINEAR_RANGES > help > Say Y here to enable support for MT6370_RGB LED device. > In MT6370, there are four channel current-sink LED drivers that --=20 People of Russia, stop Putin before his war on Ukraine escalates. --KU4ZDhGjr3zhG3Ut Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZBwyswAKCRAw5/Bqldv6 8p70AJ4wG0X7vNDkIlEkRZpej3qqEwtKRwCfeojFwxU3iZ9i2lM6bi5RIKSSfrc= =+rk9 -----END PGP SIGNATURE----- --KU4ZDhGjr3zhG3Ut--