linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	linux-gpio <linux-gpio@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] gpio: Drop superfluous dependencies on GPIOLIB
Date: Wed, 24 Jun 2020 12:20:11 +0200	[thread overview]
Message-ID: <CAMpxmJUr8_S16fPH5CWVzi+MRwpJFE2_T5BwdJaoute5n8g3Sg@mail.gmail.com> (raw)
In-Reply-To: <20200623144001.17052-1-geert+renesas@glider.be>

wt., 23 cze 2020 o 16:40 Geert Uytterhoeven <geert+renesas@glider.be>
napisał(a):
>
> All config options for GPIO drivers are inside a big "if GPIOLIB ...
> endif" block, so there is no reason for individual config options to
> have expicit dependencies on GPIOLIB.  Hence remove them.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/gpio/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index f875ec95ba8c3a7a..291bffb5c7e58d7f 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -411,7 +411,7 @@ config GPIO_MXS
>
>  config GPIO_OCTEON
>         tristate "Cavium OCTEON GPIO"
> -       depends on GPIOLIB && CAVIUM_OCTEON_SOC
> +       depends on CAVIUM_OCTEON_SOC
>         default y
>         help
>           Say yes here to support the on-chip GPIO lines on the OCTEON
> @@ -1118,7 +1118,7 @@ config GPIO_DLN2
>
>  config HTC_EGPIO
>         bool "HTC EGPIO support"
> -       depends on GPIOLIB && ARM
> +       depends on ARM
>         help
>           This driver supports the CPLD egpio chip present on
>           several HTC phones.  It provides basic support for input
> --
> 2.17.1
>

Applied, thanks!

Bartosz

      reply	other threads:[~2020-06-24 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-23 14:40 [PATCH] gpio: Drop superfluous dependencies on GPIOLIB Geert Uytterhoeven
2020-06-24 10:20 ` Bartosz Golaszewski [this message]

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=CAMpxmJUr8_S16fPH5CWVzi+MRwpJFE2_T5BwdJaoute5n8g3Sg@mail.gmail.com \
    --to=bgolaszewski@baylibre.com \
    --cc=geert+renesas@glider.be \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.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).