From: Linus Walleij Date: Fri, 30 Jul 2021 09:43:02 +0000 (+0100) Subject: ARM: 9103/1: Drop ARCH_NR_GPIOS definition X-Git-Tag: v5.15~309^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fec92d9b2bfd2fb1a2a4295dc859d9bab16c8fc;p=platform%2Fkernel%2Flinux-starfive.git 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/20210510114107.43006-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij Signed-off-by: Linus Walleij Signed-off-by: Russell King (Oracle) --- diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index c50e383..f3bb8a2 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