Re: [PATCH] gpiolib: fix find_chip_by_name()

From: Linus Walleij
Date: Mon Nov 18 2013 - 04:46:31 EST


On Sat, Nov 16, 2013 at 1:39 PM, Alexandre Courbot <acourbot@xxxxxxxxxx> 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@xxxxxxxxxx>

Patch applied for fixes.

Yours,
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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/