Re: [PATCH] gpio-tz1090: fix error handling of irq_of_parse_and_map

From: Linus Walleij
Date: Thu Nov 27 2014 - 08:35:32 EST


On Fri, Nov 14, 2014 at 10:32 PM, Dmitry Torokhov <dtor@xxxxxxxxxxxx> wrote:

> irq_of_parse_and_map() returns 0 on error, so testing for negative
> result never works.
>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxxxxxxx>

Patch applied with James' ACK.

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/