[lkml]   [2014]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] gpio: remove gpio_ensure_requested()
On Thu, Jul 24, 2014 at 7:51 AM, Alexandre Courbot <> 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 <>

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

Linus Walleij

 \ /
  Last update: 2014-07-24 21:01    [W:0.028 / U:10.064 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site