[PATCH] ARM: remove unnecessary 'select GENERIC_GPIO'

Linus Walleij linus.walleij at linaro.org
Thu Jan 17 08:36:00 EST 2013


On Tue, Jan 15, 2013 at 2:13 PM, Shawn Guo <shawn.guo at linaro.org> wrote:

> The only use of GENERIC_GPIO (defined by architecture) in GPIO subsystem
> is being selected by GPIOLIB.  Also there are no any use of the option
> at architecture level. Only two sub-architectures shmobile and orion
> really use the option as below.
>
>   arch/arm/mach-shmobile/Makefile:obj-$(CONFIG_GENERIC_GPIO)      += $(pfc-y)
>   arch/arm/plat-orion/Makefile:orion-gpio-$(CONFIG_GENERIC_GPIO) += gpio.o
>
> Remove all those unnecessary sub-architecture level selection of
> GENERIC_GPIO, which are there only for confusing people.
>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list