summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-imx.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-02-22 17:23:46 +0400
committerMark Brown <broonie@linaro.org>2014-02-23 10:46:24 +0900
commit8fc39b516623f3beed18be701d2acfe0e50b8d86 (patch)
treed5a9bdfe424cf1ed583fe2de8293704fc90e52e7 /drivers/spi/spi-imx.c
parentd00694167bd0f3ccdf5176451e6ca400d923538b (diff)
downloadblackbird-op-linux-8fc39b516623f3beed18be701d2acfe0e50b8d86.tar.gz
blackbird-op-linux-8fc39b516623f3beed18be701d2acfe0e50b8d86.zip
spi/imx: Use dev_name() for request_irq() to distinguish SPIs
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-imx.c')
-rw-r--r--drivers/spi/spi-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index ad6daf510d33..d2e08c4b5cc5 100644
--- 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;
OpenPOWER on IntegriCloud