ARM: s5p: cut the custom ARCH_NR_GPIOS definition
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jun 2014 14:14:01 +0000 (16:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jun 2014 19:37:13 +0000 (21:37 +0200)
commitab275b132a79c7b08f10fa22fc3f204eb8e26d33
tree251b82045f9cf0331f24ff39b9547c1cede39b23
parent4c834452aad01531db949414f94f817a86348d59
ARM: s5p: cut the custom ARCH_NR_GPIOS definition

The number of GPIOs defined for the different S5P platforms using
the tricky #define macros are actually as follows:

S5P64x0: 180 GPIOs
S5PC100: 115 GPIOs
S5PV210: 252 GPIOs

The include file <asm-generic/gpio.h> will automatically bump us
to 256 GPIOs which is a nice default value that happens to encompass
all the S5P platform requirements under its roof.

Cut ARCH_NR_GPIOS and the custom spacing macro for extra GPIOs
that is not used anywhere in the kernel.

Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-s5p64x0/include/mach/gpio.h
arch/arm/mach-s5pc100/include/mach/gpio.h
arch/arm/mach-s5pv210/include/mach/gpio.h
arch/arm/plat-samsung/Kconfig
This page took 0.025175 seconds and 5 git commands to generate.