linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	 Linus Walleij <linus.walleij@linaro.org>,
	Arnd Bergmann <arnd@kernel.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	Russell King <linux@armlinux.org.uk>,
	linux-arm Mailing List <linux-arm-kernel@lists.infradead.org>,
	linux-gpio <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH v1] ARM: Drop ARCH_NR_GPIOS definition
Date: Mon, 1 Mar 2021 19:10:05 +0200	[thread overview]
Message-ID: <CAHp75VfbxA+u+mY4h2opGZa6n6e6u-yj+3HcumvQR1=wTmb6ew@mail.gmail.com> (raw)
In-Reply-To: <YDZRTiQ3pLfk1/Z0@smile.fi.intel.com>

On Wed, Feb 24, 2021 at 4:21 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> 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@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
> >
>
> --
> With Best Regards,
> Andy Shevchenko
>
>


-- 
With Best Regards,
Andy Shevchenko

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-03-01 17:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 15:47 [PATCH v1] ARM: Drop ARCH_NR_GPIOS definition Andy Shevchenko
2020-11-09 12:13 ` Andy Shevchenko
2021-01-21 17:13 ` Andy Shevchenko
2021-02-24 13:14 ` Andy Shevchenko
2021-03-01 17:10   ` Andy Shevchenko [this message]
2021-03-02 15:51 ` Linus Walleij
2021-05-10 11:41   ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHp75VfbxA+u+mY4h2opGZa6n6e6u-yj+3HcumvQR1=wTmb6ew@mail.gmail.com' \
    --to=andy.shevchenko@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=arnd@kernel.org \
    --cc=bgolaszewski@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).