linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Arnd Bergmann <arnd@kernel.org>
Cc: "Linus Walleij" <linus.walleij@linaro.org>,
	"Bartosz Golaszewski" <brgl@bgdev.pl>,
	"Arnd Bergmann" <arnd@arndb.de>, "Peng Fan" <peng.fan@nxp.com>,
	"Lee Jones" <lee@kernel.org>,
	"Koichiro Den" <koichiro.den@canonical.com>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Alexander Sverdlin" <alexander.sverdlin@gmail.com>,
	"Uwe Kleine-König" <ukleinek@kernel.org>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gpiolib: make legacy interfaces optional
Date: Wed, 23 Jul 2025 17:15:58 +0300	[thread overview]
Message-ID: <aIDunk2sw4DSDgV3@smile.fi.intel.com> (raw)
In-Reply-To: <20250722153634.3683927-1-arnd@kernel.org>

On Tue, Jul 22, 2025 at 05:35:43PM +0200, Arnd Bergmann wrote:
> 
> The traditional interfaces are only used on a small number of ancient
> boards. Make these optional now so they can be disabled by default.

...

> +#ifdef CONFIG_GPIOLIB
> +#include <linux/gpio/consumer.h>
> +#endif

>  #ifdef CONFIG_GPIOLIB
> -
> -#include <linux/gpio/consumer.h>
> -

Why is the above needed to be changed?

-- 
With Best Regards,
Andy Shevchenko



  parent reply	other threads:[~2025-07-23 14:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-22 15:35 [PATCH] gpiolib: make legacy interfaces optional Arnd Bergmann
2025-07-22 16:27 ` Alexander Sverdlin
2025-07-23  8:39 ` Bartosz Golaszewski
2025-07-23 14:17   ` Andy Shevchenko
2025-07-24 14:36     ` Arnd Bergmann
2025-07-24 14:22   ` Arnd Bergmann
2025-07-24 14:24     ` Bartosz Golaszewski
2025-07-23 14:15 ` Andy Shevchenko [this message]
2025-07-24 14:25 ` (subset) " Bartosz Golaszewski

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=aIDunk2sw4DSDgV3@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=alexander.sverdlin@gmail.com \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=brgl@bgdev.pl \
    --cc=geert+renesas@glider.be \
    --cc=koichiro.den@canonical.com \
    --cc=lee@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peng.fan@nxp.com \
    --cc=ukleinek@kernel.org \
    /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).