diff mbox series

[v2,9/9] arm64: Remove CONFIG_ARCH_NR_GPIO

Message ID ac0303f84f4e14a90d7aa01cadd5b40a95dcb737.1662116601.git.christophe.leroy@csgroup.eu
State Accepted
Commit f5a681d238885f238a5f06fcfda625a90d87a327
Headers show
Series gpio: Get rid of ARCH_NR_GPIOS (v2) | expand

Commit Message

Christophe Leroy Sept. 2, 2022, 12:42 p.m. UTC
CONFIG_ARCH_NR_GPIO is not used anymore, remove it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
---
 arch/arm64/Kconfig | 12 ------------
 1 file changed, 12 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9fb9fff08c94..4d7158e484d2 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -2110,18 +2110,6 @@  config STACKPROTECTOR_PER_TASK
 	def_bool y
 	depends on STACKPROTECTOR && CC_HAVE_STACKPROTECTOR_SYSREG
 
-# The GPIO number here must be sorted by descending number. In case of
-# a multiplatform kernel, we just want the highest value required by the
-# selected platforms.
-config ARCH_NR_GPIO
-        int
-        default 2048 if ARCH_APPLE
-        default 0
-        help
-          Maximum number of GPIOs in the system.
-
-          If unsure, leave the default value.
-
 endmenu # "Kernel Features"
 
 menu "Boot options"