From: Geert Uytterhoeven Date: Tue, 23 Jun 2020 14:40:01 +0000 (+0200) Subject: gpio: Drop superfluous dependencies on GPIOLIB X-Git-Tag: v5.15~3204^2~40^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4c6a52c64607d825b0e81c82e548d4cc8199e53;p=platform%2Fkernel%2Flinux-starfive.git gpio: Drop superfluous dependencies on GPIOLIB All config options for GPIO drivers are inside a big "if GPIOLIB ... endif" block, so there is no reason for individual config options to have expicit dependencies on GPIOLIB. Hence remove them. Signed-off-by: Geert Uytterhoeven Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index c6b5c65..05e0801 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -410,7 +410,7 @@ config GPIO_MXS config GPIO_OCTEON tristate "Cavium OCTEON GPIO" - depends on GPIOLIB && CAVIUM_OCTEON_SOC + depends on CAVIUM_OCTEON_SOC default y help Say yes here to support the on-chip GPIO lines on the OCTEON @@ -1117,7 +1117,7 @@ config GPIO_DLN2 config HTC_EGPIO bool "HTC EGPIO support" - depends on GPIOLIB && ARM + depends on ARM help This driver supports the CPLD egpio chip present on several HTC phones. It provides basic support for input