Re: [PATCH 3/8] gpio: GPIO_REGMAP: select REGMAP instead of depending on it

From: Michael Walle
Date: Sun Feb 26 2023 - 13:06:12 EST


Am 2023-02-26 06:39, schrieb Randy Dunlap:
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 <rdunlap@xxxxxxxxxxxxx>
Cc: Michael Walle <michael@xxxxxxxx>
Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
Cc: Bartosz Golaszewski <brgl@xxxxxxxx>
Cc: linux-gpio@xxxxxxxxxxxxxxx

Acked-by: Michael Walle <michael@xxxxxxxx>

Thanks,
-michael