PCI: keystone: Fix error handling of irq_of_parse_and_map()
authorDmitry Torokhov <dtor@chromium.org>
Fri, 14 Nov 2014 22:19:03 +0000 (14:19 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 26 Dec 2014 23:23:35 +0000 (16:23 -0700)
commitea3651fee6c92a29244830334979396465ed8587
treef88ab069f7e2e59dd7fbb9d18168f9547a2b179c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
PCI: keystone: 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: Murali Karicheri <m-karicheri2@ti.com>
drivers/pci/host/pci-keystone.c