gpio: pmic-eic-sprd: Move Kconfig to MFD expanders
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Feb 2023 09:19:09 +0000 (10:19 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 6 Mar 2023 09:51:02 +0000 (10:51 +0100)
The Spreadtrum PMIC EIC interrupt controller is part of an
MFD expander and should thus be in the MFD GPIO expander
menu section with the rest. Move it.

Cc: Cixi Geng <cixi.geng1@unisoc.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig

index 98114768c86a4f8abe6bf1cf258b923c04ae0cc9..5d0804d58c0a481a7869a4884f62ac5630336967 100644 (file)
@@ -497,14 +497,6 @@ config GPIO_PL061
        help
          Say yes here to support the PrimeCell PL061 GPIO device.
 
-config GPIO_PMIC_EIC_SPRD
-       tristate "Spreadtrum PMIC EIC support"
-       depends on MFD_SC27XX_PMIC || COMPILE_TEST
-       depends on OF_GPIO
-       select GPIOLIB_IRQCHIP
-       help
-         Say yes here to support Spreadtrum PMIC EIC device.
-
 config GPIO_PXA
        bool "PXA GPIO support"
        depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
@@ -1323,6 +1315,14 @@ config GPIO_PALMAS
          Select this option to enable GPIO driver for the TI PALMAS
          series chip family.
 
+config GPIO_PMIC_EIC_SPRD
+       tristate "Spreadtrum PMIC EIC support"
+       depends on MFD_SC27XX_PMIC || COMPILE_TEST
+       depends on OF_GPIO
+       select GPIOLIB_IRQCHIP
+       help
+         Say yes here to support Spreadtrum PMIC EIC device.
+
 config GPIO_RC5T583
        bool "RICOH RC5T583 GPIO"
        depends on MFD_RC5T583