Re: [PATCH] gpio: remove gpio_ensure_requested()

From: Linus Walleij
Date: Thu Jul 24 2014 - 12:21:22 EST

On Thu, Jul 24, 2014 at 7:51 AM, Alexandre Courbot <acourbot@xxxxxxxxxx> 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@xxxxxxxxxx>

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

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at