Fabio Estevam ef75369a5b PCI: altera: Fix platform_get_irq() error handling
platform_get_irq() returns a negative number on failure, so adjust the
logic to detect such condition and propagate the real error value on
failure.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Ley Foon Tan <lftan@altera.com>
2017-09-05 13:36:28 -05:00
..
2017-04-28 10:34:19 -05:00
2016-11-14 15:55:33 -06:00
2017-07-02 16:51:18 -05:00
2017-07-02 16:51:18 -05:00
2017-07-08 15:51:57 -07:00