Re: [PATCH] mips: pci-lantiq: Fix check for valid gpio

From: Linus Walleij
Date: Tue Jun 19 2012 - 17:50:32 EST


On Mon, Jun 18, 2012 at 11:28 AM, Roland Stigge <stigge@xxxxxxxxx> wrote:

> This patch fixes two checks for valid gpio number, formerly (wrongly)
> considering zero as invalid, now using gpio_is_valid().
>
> Signed-off-by: Roland Stigge <stigge@xxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks,
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/