* [PATCH] spi: imx: Use dev_name() for request_irq() to distinguish SPIs
@ 2014-02-22 13:23 Alexander Shiyan
[not found] ` <1393075426-20882-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2014-02-22 13:23 UTC (permalink / raw)
To: linux-spi-u79uwXL29TY76Z2rM5mHXA
Cc: Mark Brown, Shawn Guo, Sascha Hauer, Alexander Shiyan
Signed-off-by: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>
---
drivers/spi/spi-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index 3577939..bcb603c 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -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;
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] spi: imx: Use dev_name() for request_irq() to distinguish SPIs
[not found] ` <1393075426-20882-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
@ 2014-02-23 1:46 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-02-23 1:46 UTC (permalink / raw)
To: Alexander Shiyan
Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA, Shawn Guo, Sascha Hauer
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
On Sat, Feb 22, 2014 at 05:23:46PM +0400, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-23 1:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-22 13:23 [PATCH] spi: imx: Use dev_name() for request_irq() to distinguish SPIs Alexander Shiyan
[not found] ` <1393075426-20882-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
2014-02-23 1:46 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).