* [PATCH] pinctrl: remove redundant if conditional from Kconfig
@ 2015-11-05 6:46 Masahiro Yamada
2015-11-17 10:48 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-11-05 6:46 UTC (permalink / raw)
To: linux-gpio; +Cc: Masahiro Yamada, Linus Walleij, linux-kernel
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>
---
drivers/pinctrl/Kconfig | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index b422e4e..312c78b 100644
--- a/drivers/pinctrl/Kconfig
+++ b/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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: remove redundant if conditional from Kconfig
2015-11-05 6:46 [PATCH] pinctrl: remove redundant if conditional from Kconfig Masahiro Yamada
@ 2015-11-17 10:48 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2015-11-17 10:48 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: linux-gpio, linux-kernel
On Thu, Nov 5, 2015 at 7:46 AM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> 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>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-17 10:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-05 6:46 [PATCH] pinctrl: remove redundant if conditional from Kconfig Masahiro Yamada
2015-11-17 10:48 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).