commit | 842e528e1abf1edaa6467c6dbda299ec724cb42a | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor@chromium.org> | Fri Nov 14 13:32:56 2014 -0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Nov 27 14:34:47 2014 +0100 |
tree | cc91183b4010bf35c73bd80395654def52f68d47 | |
parent | d0c3d95ae27a54f283a7acc5ead5bd8a15441a92 [diff] |
gpio: tz1090: Fix error handling of irq_of_parse_and_map irq_of_parse_and_map() returns 0 on error, so testing for negative result never works. Signed-off-by: Dmitry Torokhov <dtor@chromium.org> Acked-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>