summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-sh-msiof.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-10-21 19:00:10 +0300
committerMark Brown <broonie@kernel.org>2018-10-21 19:00:10 +0300
commit92d58fd13af269552b65853d2c3a63970c4090bf (patch)
tree3604da0643f9523d4595ecd1fff5ea34c6602582 /drivers/spi/spi-sh-msiof.c
parent35a7f35ad1b150ddf59a41dcac7b2fa32982be0e (diff)
parent4585add948b14b45b45b104f2a9653c543819ec4 (diff)
downloadlinux-92d58fd13af269552b65853d2c3a63970c4090bf.tar.xz
Merge branch 'spi-4.19' into spi-linus
Diffstat (limited to 'drivers/spi/spi-sh-msiof.c')
-rw-r--r--drivers/spi/spi-sh-msiof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 101cd6aae2ea..30ea0a2068e0 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -1343,8 +1343,8 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
i = platform_get_irq(pdev, 0);
if (i < 0) {
- dev_err(&pdev->dev, "cannot get platform IRQ\n");
- ret = -ENOENT;
+ dev_err(&pdev->dev, "cannot get IRQ\n");
+ ret = i;
goto err1;
}