From: Dmitry Torokhov Date: Mon, 17 Nov 2014 10:36:23 +0000 (+0800) Subject: nios2: fix error handling of irq_of_parse_and_map X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29438f22c807d8a4bda6f0fb3e24318117906c0;p=pandora-kernel.git 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 Reviewed-by: Tobias Klauser Acked-by: Ley Foon Tan --- Reading git-diff-tree failed