Re: [PATCH v1] ARM: Drop ARCH_NR_GPIOS definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 24, 2021 at 4:21 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> On Mon, Oct 12, 2020 at 06:47:09PM +0300, Andy Shevchenko wrote:
> > The conditional by the generic header is the same,
> > hence drop unnecessary duplication.
>
> Any comment on this anybody?

+Cc: Linus and Arnd, maybe you can help to advance this to somewhere?

> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > ---
> >  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
> >
>
> --
> With Best Regards,
> Andy Shevchenko
>
>


-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux