]> Git Repo - linux.git/commitdiff
gpio: GPIO_REGMAP: select REGMAP instead of depending on it
authorRandy Dunlap <[email protected]>
Sun, 26 Feb 2023 05:39:48 +0000 (21:39 -0800)
committerBartosz Golaszewski <[email protected]>
Mon, 6 Mar 2023 10:16:56 +0000 (11:16 +0100)
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: ebe363197e52 ("gpio: add a reusable generic gpio_chip using regmap")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: [email protected]
Acked-by: Michael Walle <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
drivers/gpio/Kconfig

index 13be729710f28250fad8772c6a9b80a1be984a47..badbe05823180507916c95eca9013b0841374a83 100644 (file)
@@ -100,7 +100,7 @@ config GPIO_GENERIC
        tristate
 
 config GPIO_REGMAP
-       depends on REGMAP
+       select REGMAP
        tristate
 
 # put drivers in the right section, in alphabetical order
This page took 0.059985 seconds and 4 git commands to generate.