Dmitry Torokhov b29438f22c nios2: fix error handling of irq_of_parse_and_map
Return value of irq_of_parse_and_map() is unsigned int, with 0
indicating failure, so testing for negative result never works.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
2014-12-08 12:56:08 +08:00
..
2014-11-28 13:34:32 -08:00
2014-10-27 11:02:19 +01:00
2014-12-01 11:06:55 +01:00
2014-10-29 16:33:15 -07:00
2014-10-23 10:30:33 -07:00