spi: imx: Use dev_name() for request_irq() to distinguish SPIs
Subsystems (2)
PATCH 1/1 spi: imx: Use dev_name() for request_irq() to distinguish SPIs
Signed-off-by Alexander Shiyan <shc_work-JGs/[email protected]>
--- drivers/spi/spi-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-imx.c +1 -1
@@ -884,7 +884,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;
Signature · 6 lines
1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1393075426-20882-1-git-send-email-shc_work-JGs/[email protected]
Mark Brown
AppliedQuoted 1 line · Alexander Shiyan
Signed-off-by Alexander Shiyan <shc_work-JGs/[email protected]>
Applied, thanks.