irqchip: bcm7120-l2: 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: NDmitry Torokhov <dtor@chromium.org> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Tested-by: NKevin Cernekee <cernekee@gmail.com> Link: https://lkml.kernel.org/r/20141114221614.GA37395@dtor-wsSigned-off-by: NJason Cooper <jason@lakedaemon.net>
Showing
想要评论请 注册 或 登录