aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2021-07-30 10:43:02 +0100
committerRussell King (Oracle) <[email protected]>2021-08-10 12:16:07 +0100
commit6fec92d9b2bfd2fb1a2a4295dc859d9bab16c8fc (patch)
treeb96431bb07ce4ed6a8f367dfeff35572834fbbc3
parentd7bcc5e22967c96685d03dbbd167e1a1ddf9b910 (diff)
ARM: 9103/1: Drop ARCH_NR_GPIOS definition
The conditional by the generic header is the same, hence drop unnecessary duplication. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
-rw-r--r--arch/arm/include/asm/gpio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index c50e383358c4..f3bb8a2bf788 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -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>