From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39AF3168DC for ; Mon, 8 May 2023 11:25:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE3C9C433EF; Mon, 8 May 2023 11:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1683545152; bh=2lqfSET+Yt4DYrf68fhT6xJnOzni4MzCoYVWskVsl9A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kh82y9hm28MRyAWG0oFlaLzJlGla/ZSlxqcKbTNFBRodtdKsh7eQijZf6GTmSqjNz r6Jcw8IPzJ5cRz1pk9Y9V6DSbv8g+ZrtWqXrI9ox7XP7WxhEfb3g/T3Oly0h3B4/aK pw1xcHllu+UbPN0Lqw0xB0IIbEx86HAmQBpLEIPM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Randy Dunlap , Pavel Machek , Lee Jones , Sasha Levin Subject: [PATCH 6.3 640/694] leds: TI_LMU_COMMON: select REGMAP instead of depending on it Date: Mon, 8 May 2023 11:47:55 +0200 Message-Id: <20230508094456.531152638@linuxfoundation.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230508094432.603705160@linuxfoundation.org> References: <20230508094432.603705160@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Randy Dunlap [ Upstream commit a61079efc87888587e463afaed82417b162fbd69 ] REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: 3fce8e1eb994 ("leds: TI LMU: Add common code for TI LMU devices") Signed-off-by: Randy Dunlap Acked-by: Pavel Machek Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20230226053953.4681-5-rdunlap@infradead.org Signed-off-by: Sasha Levin --- drivers/leds/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 9dbce09eabacf..aaa9140bc3514 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -795,7 +795,7 @@ config LEDS_SPI_BYTE config LEDS_TI_LMU_COMMON tristate "LED driver for TI LMU" depends on LEDS_CLASS - depends on REGMAP + select REGMAP help Say Y to enable the LED driver for TI LMU devices. This supports common features between the TI LM3532, LM3631, LM3632, -- 2.39.2