linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Alexandre Courbot <acourbot@nvidia.com>
Cc: "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Alexandre Courbot <gnurou@gmail.com>
Subject: Re: [PATCH] gpio: remove gpio_ensure_requested()
Date: Thu, 24 Jul 2014 18:21:12 +0200	[thread overview]
Message-ID: <CACRpkdaLokvZwb_tPdj21iF25AOJ_K6gWA5QK_VVz2Z4U9stkA@mail.gmail.com> (raw)
In-Reply-To: <1406181062-29596-1-git-send-email-acourbot@nvidia.com>

On Thu, Jul 24, 2014 at 7:51 AM, Alexandre Courbot <acourbot@nvidia.com> wrote:

> gpio_ensure_requested() has been introduced in Feb. 2008 by commit
> d2876d08d86f2 to force users of the GPIO API to explicitly request GPIOs
> before using them.
>
> Hopefully by now all GPIOs are correctly requested and this extra check
> can be omitted ; in any case the GPIO maintainers won't feel bad if
> machines start failing after 6 years of warnings.
>
> This patch removes that function from the dark ages.
>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>

Hm you took the opportunity to also refactor the debounce ops
to static inlines, I see why though so patch applied!

Yours,
Linus Walleij

      reply	other threads:[~2014-07-24 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  5:51 [PATCH] gpio: remove gpio_ensure_requested() Alexandre Courbot
2014-07-24 16:21 ` Linus Walleij [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=CACRpkdaLokvZwb_tPdj21iF25AOJ_K6gWA5QK_VVz2Z4U9stkA@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=acourbot@nvidia.com \
    --cc=gnurou@gmail.com \
    --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).