linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] sh: Drop ARCH_NR_GPIOS definition
@ 2020-10-12 15:40 Andy Shevchenko
  2020-11-09 12:13 ` Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andy Shevchenko @ 2020-10-12 15:40 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, linux-sh, Bartosz Golaszewski,
	linux-gpio
  Cc: Andy Shevchenko

The default by generic header is the same, hence drop unnecessary definition.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/sh/include/asm/gpio.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
index 351918894e86..d643250f0a0f 100644
--- a/arch/sh/include/asm/gpio.h
+++ b/arch/sh/include/asm/gpio.h
@@ -16,7 +16,6 @@
 #include <cpu/gpio.h>
 #endif
 
-#define ARCH_NR_GPIOS 512
 #include <asm-generic/gpio.h>
 
 #ifdef CONFIG_GPIOLIB
-- 
2.28.0


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

end of thread, other threads:[~2021-01-18 23:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-12 15:40 [PATCH v1] sh: Drop ARCH_NR_GPIOS definition Andy Shevchenko
2020-11-09 12:13 ` Andy Shevchenko
2020-11-11 16:45   ` Rob Landley
2020-12-28 21:36     ` Andy Shevchenko
2021-01-01 13:51       ` John Paul Adrian Glaubitz
2021-01-02  2:12         ` Rob Landley
2021-01-18 20:20           ` John Paul Adrian Glaubitz
2021-01-18 23:44             ` Rob Landley
2021-01-01 14:24 ` John Paul Adrian Glaubitz
2021-01-18 20:11 ` John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).