All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] ARM: Drop ARCH_NR_GPIOS definition
@ 2020-10-12 15:47 ` Andy Shevchenko
  0 siblings, 0 replies; 14+ messages in thread
From: Andy Shevchenko @ 2020-10-12 15:47 UTC (permalink / raw)
  To: Russell King, linux-arm-kernel, Bartosz Golaszewski, linux-gpio
  Cc: Andy Shevchenko

The conditional by the generic header is the same,
hence drop unnecessary duplication.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/arm/include/asm/gpio.h | 4 ----
 1 file changed, 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>
 
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-05-10 12:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-12 15:47 [PATCH v1] ARM: Drop ARCH_NR_GPIOS definition Andy Shevchenko
2020-10-12 15:47 ` Andy Shevchenko
2020-11-09 12:13 ` Andy Shevchenko
2020-11-09 12:13   ` Andy Shevchenko
2021-01-21 17:13 ` Andy Shevchenko
2021-01-21 17:13   ` Andy Shevchenko
2021-02-24 13:14 ` Andy Shevchenko
2021-02-24 13:14   ` Andy Shevchenko
2021-03-01 17:10   ` Andy Shevchenko
2021-03-01 17:10     ` Andy Shevchenko
2021-03-02 15:51 ` Linus Walleij
2021-03-02 15:51   ` Linus Walleij
2021-05-10 11:41   ` Andy Shevchenko
2021-05-10 11:41     ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.