diff options
author | Dmitry Torokhov <dtor@chromium.org> | 2014-11-14 14:21:53 -0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-12-26 16:24:27 -0700 |
commit | c51d411fe1e5f5f378b4db6b10dbe89e2e8688e4 (patch) | |
tree | 90ad0e11e65d7b1a46e49b5264b97b2b64e7e7e0 /init | |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions