ARM: 9103/1: Drop ARCH_NR_GPIOS definition
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Jul 2021 09:43:02 +0000 (10:43 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 10 Aug 2021 11:16:07 +0000 (12:16 +0100)
The conditional by the generic header is the same,
hence drop unnecessary duplication.

Link: https://lore.kernel.org/r/20210510114107.43006-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/gpio.h

index c50e383358c4cf19f890f14ba2dd0bf0b5f53e50..f3bb8a2bf788eff111986bd8c2ae0a9f4da8aeda 100644 (file)
@@ -2,10 +2,6 @@
 #ifndef _ARCH_ARM_GPIO_H
 #define _ARCH_ARM_GPIO_H
 
-#if CONFIG_ARCH_NR_GPIO > 0
-#define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO
-#endif
-
 /* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */
 #include <asm-generic/gpio.h>