lkml.org 
[lkml]   [2014]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpio: remove gpio_ensure_requested()
From
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


\
 
 \ /
  Last update: 2014-07-24 21:01    [W:0.414 / U:0.836 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site