pinctrl: remove redundant if conditional from Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 5 Nov 2015 06:46:03 +0000 (15:46 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Nov 2015 10:47:47 +0000 (11:47 +0100)
The whole menu is guarded by

  menu "Pin controllers"
          depends on PINCTRL
      ...
  endmenu

The if conditional outside of it is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig

index b422e4ed73f4266f7a8d13db4ec1096395163fc3..312c78b27a3206c813c85912e14b570ffa43a0a6 100644 (file)
@@ -5,8 +5,6 @@
 config PINCTRL
        bool
 
-if PINCTRL
-
 menu "Pin controllers"
        depends on PINCTRL
 
@@ -274,5 +272,3 @@ config PINCTRL_TB10X
        select GPIOLIB
 
 endmenu
-
-endif