projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2dcfd28
)
Merge remote-tracking branch 'spi/topic/xlp' into spi-next
author
Mark Brown
<broonie@kernel.org>
Mon, 4 Sep 2017 14:51:34 +0000
(15:51 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 4 Sep 2017 14:51:34 +0000
(15:51 +0100)
drivers/spi/spi-xlp.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-xlp.c
b/drivers/spi/spi-xlp.c
index
80cb4d6
..
74a01b0
100644
(file)
--- 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)
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);