commit | c51d411fe1e5f5f378b4db6b10dbe89e2e8688e4 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor@chromium.org> | Fri Nov 14 14:21:53 2014 -0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Dec 26 16:24:27 2014 -0700 |
tree | 90ad0e11e65d7b1a46e49b5264b97b2b64e7e7e0 | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
PCI: rcar: 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> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Phil Edworthy <phil.edworthy@renesas.com>