diff mbox series

[v6,17/18] sh: Drop ARCH_NR_GPIOS definition

Message ID 20201111220559.39680-18-andriy.shevchenko@linux.intel.com
State New
Headers show
Series gpiolib: acpi: pin configuration fixes | expand

Commit Message

Andy Shevchenko Nov. 11, 2020, 10:05 p.m. UTC
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(-)

Comments

Andy Shevchenko Nov. 11, 2020, 10:11 p.m. UTC | #1
On Thu, Nov 12, 2020 at 12:07 AM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> The default by generic header is the same, hence drop unnecessary definition.

Sorry, sent by mistake, please ignore this email.
diff mbox series

Patch

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