Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: remove redundant 'select GENERIC_GPIO'

In drivers/gpio/Kcong, ARCH_REQUIRE_GPIOLIB selects GPIOLIB which in
turn selects GENERIC_GPIO. So GENERIC_GPIO will be selected
automatically for those platforms that select ARCH_REQUIRE_GPIOLIB.

Remove the redundant 'select GENERIC_GPIO' for platforms that already
select ARCH_REQUIRE_GPIOLIB at either mach or plat level.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>

authored by

Shawn Guo and committed by
Olof Johansson
7d47f364 2ea0dde7

-12
-9
arch/arm/Kconfig
··· 347 347 select COMMON_CLK 348 348 select CPU_V6 349 349 select GENERIC_CLOCKEVENTS 350 - select GENERIC_GPIO 351 350 select MULTI_IRQ_HANDLER 352 351 select PINCTRL 353 352 select PINCTRL_BCM2835 ··· 643 644 select CLKSRC_MMIO 644 645 select COMMON_CLK 645 646 select GENERIC_CLOCKEVENTS 646 - select GENERIC_GPIO 647 647 select HAVE_CLK 648 648 select HAVE_SMP 649 649 select MIGHT_HAVE_CACHE_L2X0 ··· 742 744 select ARCH_HAS_CPUFREQ 743 745 select ARCH_USES_GETTIMEOFFSET 744 746 select CLKDEV_LOOKUP 745 - select GENERIC_GPIO 746 747 select HAVE_CLK 747 748 select HAVE_S3C2410_I2C if I2C 748 749 select HAVE_S3C2410_WATCHDOG if WATCHDOG ··· 784 787 select CLKSRC_MMIO 785 788 select CPU_V6 786 789 select GENERIC_CLOCKEVENTS 787 - select GENERIC_GPIO 788 790 select HAVE_CLK 789 791 select HAVE_S3C2410_I2C if I2C 790 792 select HAVE_S3C2410_WATCHDOG if WATCHDOG ··· 798 802 select ARCH_USES_GETTIMEOFFSET 799 803 select CLKDEV_LOOKUP 800 804 select CPU_V7 801 - select GENERIC_GPIO 802 805 select HAVE_CLK 803 806 select HAVE_S3C2410_I2C if I2C 804 807 select HAVE_S3C2410_WATCHDOG if WATCHDOG ··· 815 820 select CLKSRC_MMIO 816 821 select CPU_V7 817 822 select GENERIC_CLOCKEVENTS 818 - select GENERIC_GPIO 819 823 select HAVE_CLK 820 824 select HAVE_S3C2410_I2C if I2C 821 825 select HAVE_S3C2410_WATCHDOG if WATCHDOG ··· 832 838 select CLKDEV_LOOKUP 833 839 select CPU_V7 834 840 select GENERIC_CLOCKEVENTS 835 - select GENERIC_GPIO 836 841 select HAVE_CLK 837 842 select HAVE_S3C2410_I2C if I2C 838 843 select HAVE_S3C2410_WATCHDOG if WATCHDOG ··· 866 873 select COMMON_CLK 867 874 select CPU_ARM926T 868 875 select GENERIC_CLOCKEVENTS 869 - select GENERIC_GPIO 870 876 select HAVE_TCM 871 877 select SPARSE_IRQ 872 878 help ··· 949 957 select COMMON_CLK 950 958 select CPU_ARM926T 951 959 select GENERIC_CLOCKEVENTS 952 - select GENERIC_GPIO 953 960 select HAVE_CLK 954 961 select MULTI_IRQ_HANDLER 955 962 select SPARSE_IRQ
-1
arch/arm/mach-bcm/Kconfig
··· 7 7 select ARM_GIC 8 8 select CPU_V7 9 9 select GENERIC_CLOCKEVENTS 10 - select GENERIC_GPIO 11 10 select GENERIC_TIME 12 11 select GPIO_BCM 13 12 select SPARSE_IRQ
-1
arch/arm/mach-picoxcell/Kconfig
··· 7 7 select DW_APB_TIMER 8 8 select DW_APB_TIMER_OF 9 9 select GENERIC_CLOCKEVENTS 10 - select GENERIC_GPIO 11 10 select HAVE_TCM 12 11 select NO_IOPORT 13 12 select SPARSE_IRQ
-1
arch/arm/mach-vt8500/Kconfig
··· 7 7 select CLKSRC_OF 8 8 select CPU_ARM926T 9 9 select GENERIC_CLOCKEVENTS 10 - select GENERIC_GPIO 11 10 select HAVE_CLK 12 11 select VT8500_TIMER 13 12 help