diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-02-22 17:23:46 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-23 10:46:24 +0900 |
commit | 8fc39b516623f3beed18be701d2acfe0e50b8d86 (patch) | |
tree | d5a9bdfe424cf1ed583fe2de8293704fc90e52e7 | |
parent | d00694167bd0f3ccdf5176451e6ca400d923538b (diff) | |
download | linux-stable-8fc39b516623f3beed18be701d2acfe0e50b8d86.tar.gz linux-stable-8fc39b516623f3beed18be701d2acfe0e50b8d86.tar.bz2 linux-stable-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>
-rw-r--r-- | drivers/spi/spi-imx.c | 2 |
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; |