HSI: nokia-modem: fix error handling of irq_of_parse_and_map
authorDmitry Torokhov <dtor@chromium.org>
Fri, 14 Nov 2014 22:06:37 +0000 (14:06 -0800)
committerSebastian Reichel <sre@kernel.org>
Fri, 14 Nov 2014 22:39:40 +0000 (23:39 +0100)
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>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

No differences found