gpio: mockup: don't depend twice on GPIOLIB
authorUwe Kleine-König <uwe@kleine-koenig.org>
Thu, 25 Jul 2019 13:10:02 +0000 (15:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Aug 2019 08:41:59 +0000 (10:41 +0200)
config GPIO_MOCKUP is defined in a big if GPIOLIB ... endif block so it
doesn't need to depend explicitly on GPIOLIB.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20190725131002.14597-1-uwe@kleine-koenig.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 3125aca..8137f3e 100644 (file)
@@ -1466,7 +1466,6 @@ endmenu
 
 config GPIO_MOCKUP
        tristate "GPIO Testing Driver"
-       depends on GPIOLIB
        select IRQ_SIM
        help
          This enables GPIO Testing driver, which provides a way to test GPIO