提交 8fc39b51 编写于 作者: A Alexander Shiyan 提交者: Mark Brown

spi/imx: Use dev_name() for request_irq() to distinguish SPIs

Signed-off-by: NAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 d0069416
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册