Merge remote-tracking branch 'spi/topic/xlp' into spi-next
authorMark Brown <broonie@kernel.org>
Mon, 4 Sep 2017 14:51:34 +0000 (15:51 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 4 Sep 2017 14:51:34 +0000 (15:51 +0100)
drivers/spi/spi-xlp.c

index 80cb4d6..74a01b0 100644 (file)
@@ -393,8 +393,8 @@ static int xlp_spi_probe(struct platform_device *pdev)
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(&pdev->dev, "no IRQ resource found\n");
-               return -EINVAL;
+               dev_err(&pdev->dev, "no IRQ resource found: %d\n", irq);
+               return irq;
        }
        err = devm_request_irq(&pdev->dev, irq, xlp_spi_interrupt, 0,
                        pdev->name, xspi);