diff mbox series

[v2,7/9] x86: Remove CONFIG_ARCH_NR_GPIO

Message ID f118e911b3b61202a71ec5832b71a1738fb37350.1662116601.git.christophe.leroy@csgroup.eu
State New
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/x86/Kconfig | 5 -----
 1 file changed, 5 deletions(-)

Comments

Thomas Gleixner Oct. 17, 2022, 9:16 a.m. UTC | #1
On Fri, Sep 02 2022 at 14:42, Christophe Leroy wrote:
> 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>

Acked-by: Thomas Gleixner <tglx@linutronix.de>
diff mbox series

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f9920f1341c8..0385d5273e37 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -345,11 +345,6 @@  config ARCH_HAS_CPU_RELAX
 config ARCH_HIBERNATION_POSSIBLE
 	def_bool y
 
-config ARCH_NR_GPIO
-	int
-	default 1024 if X86_64
-	default 512
-
 config ARCH_SUSPEND_POSSIBLE
 	def_bool y