projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d006941
)
spi/imx: Use dev_name() for request_irq() to distinguish SPIs
author
Alexander Shiyan
<shc_work@mail.ru>
Sat, 22 Feb 2014 13:23:46 +0000
(17:23 +0400)
committer
Mark Brown
<broonie@linaro.org>
Sun, 23 Feb 2014 01:46:24 +0000
(10:46 +0900)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-imx.c
b/drivers/spi/spi-imx.c
index ad6daf510d33f7e1577cbfa43878fca6272c2d1d..d2e08c4b5cc57aaa99b4e6bb94a20e6a742eba2a 100644
(file)
--- a/
drivers/spi/spi-imx.c
+++ b/
drivers/spi/spi-imx.c
@@
-885,7
+885,7
@@
static int spi_imx_probe(struct platform_device *pdev)
}
ret = devm_request_irq(&pdev->dev, spi_imx->irq, spi_imx_isr, 0,
-
DRIVER_NAME
, spi_imx);
+
dev_name(&pdev->dev)
, spi_imx);
if (ret) {
dev_err(&pdev->dev, "can't get irq%d: %d\n", spi_imx->irq, ret);
goto out_master_put;