Skip to content

Commit 5a4cff5

Browse files
rddunlapsmb49
authored andcommitted
leds: TI_LMU_COMMON: select REGMAP instead of depending on it
BugLink: https://bugs.launchpad.net/bugs/2025067 [ Upstream commit a61079e ] 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: 3fce8e1 ("leds: TI LMU: Add common code for TI LMU devices") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230226053953.4681-5-rdunlap@infradead.org Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
1 parent cf4043b commit 5a4cff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/leds/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ config LEDS_SPI_BYTE
825825
config LEDS_TI_LMU_COMMON
826826
tristate "LED driver for TI LMU"
827827
depends on LEDS_CLASS
828-
depends on REGMAP
828+
select REGMAP
829829
help
830830
Say Y to enable the LED driver for TI LMU devices.
831831
This supports common features between the TI LM3532, LM3631, LM3632,

0 commit comments

Comments
 (0)