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-12-08 12:55:50 +08:00
2014-12-08 12:55:50 +08:00
2014-12-08 12:55:55 +08:00
2014-12-08 12:56:06 +08:00
2014-12-08 12:55:50 +08:00
2014-12-08 12:56:04 +08:00
2014-12-08 12:56:06 +08:00
2014-12-08 12:55:53 +08:00
2014-12-08 12:56:01 +08:00
2014-12-08 12:56:04 +08:00
2014-12-08 12:55:59 +08:00
2014-12-08 12:55:58 +08:00
2014-12-08 12:55:58 +08:00
2014-12-08 12:55:50 +08:00
2014-12-08 12:56:06 +08:00