lkml.org 
[lkml]   [2013]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpiolib: fix find_chip_by_name()
From
On Sat, Nov 16, 2013 at 1:39 PM, Alexandre Courbot <acourbot@nvidia.com> wrote:

> find_chip_by_name() was incorrectly implemented by using
> gpio_lookup_list instead of gpiod_chips to iterate through all the
> registered GPIO controllers. This patch reimplements it by using
> gpiochip_find() with a custom search function, which simplifies the code
> on top of fixing the mistake.
>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>

Patch applied for fixes.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-11-18 11:01    [W:0.034 / U:11.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site