mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 00:42:16 +00:00
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>
This commit is contained in:
parent
d00694167b
commit
8fc39b5166
@ -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,
|
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) {
|
if (ret) {
|
||||||
dev_err(&pdev->dev, "can't get irq%d: %d\n", spi_imx->irq, ret);
|
dev_err(&pdev->dev, "can't get irq%d: %d\n", spi_imx->irq, ret);
|
||||||
goto out_master_put;
|
goto out_master_put;
|
||||||
|
Loading…
Reference in New Issue
Block a user