pinctrl: mediatek: cleanup for placing all drivers under the menu
authorSean Wang <sean.wang@mediatek.com>
Tue, 12 Dec 2017 06:24:19 +0000 (14:24 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Dec 2017 07:47:56 +0000 (08:47 +0100)
Since lots of MediaTek drivers had been added, it seems slightly better
for that adding cleanup for placing MediaTek pinctrl drivers under the
independent menu as other kinds of drivers usually was done.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Reviewed-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/Kconfig

index fac9866311f3c8f865e3528bae9d607473d5ba52..03b3023d5fe5f050d3d5d8ed99e5740e3d716b93 100644 (file)
@@ -1,4 +1,5 @@
-if ARCH_MEDIATEK || COMPILE_TEST
+menu "MediaTek pinctrl drivers"
+       depends on ARCH_MEDIATEK || COMPILE_TEST
 
 config PINCTRL_MTK
        bool
@@ -46,4 +47,4 @@ config PINCTRL_MT6397
        default MFD_MT6397
        select PINCTRL_MTK
 
-endif
+endmenu