diff options
author | Mark Brown <broonie@kernel.org> | 2017-09-04 10:51:34 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-04 10:51:34 -0400 |
commit | ecb478bf866b8450c724958815e8d46b97c1b113 (patch) | |
tree | cc668ec3e976206398ba5a11f278c67182c4b6e8 | |
parent | 2dcfd2814baf506207bb0be837ecd6a5f6830e16 (diff) | |
parent | 9a6b94796ae6feaf275ec6200e9b2964db208182 (diff) |
Merge remote-tracking branch 'spi/topic/xlp' into spi-next
-rw-r--r-- | drivers/spi/spi-xlp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-xlp.c b/drivers/spi/spi-xlp.c index 80cb4d6af892..74a01b09a8a5 100644 --- a/drivers/spi/spi-xlp.c +++ b/drivers/spi/spi-xlp.c | |||
@@ -393,8 +393,8 @@ static int xlp_spi_probe(struct platform_device *pdev) | |||
393 | 393 | ||
394 | irq = platform_get_irq(pdev, 0); | 394 | irq = platform_get_irq(pdev, 0); |
395 | if (irq < 0) { | 395 | if (irq < 0) { |
396 | dev_err(&pdev->dev, "no IRQ resource found\n"); | 396 | dev_err(&pdev->dev, "no IRQ resource found: %d\n", irq); |
397 | return -EINVAL; | 397 | return irq; |
398 | } | 398 | } |
399 | err = devm_request_irq(&pdev->dev, irq, xlp_spi_interrupt, 0, | 399 | err = devm_request_irq(&pdev->dev, irq, xlp_spi_interrupt, 0, |
400 | pdev->name, xspi); | 400 | pdev->name, xspi); |