瀏覽代碼

pinctrl: remove redundant if conditional from Kconfig

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>
Masahiro Yamada 10 年之前
父節點
當前提交
932cb83962
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      drivers/pinctrl/Kconfig

+ 0 - 4
drivers/pinctrl/Kconfig

@@ -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