All of
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work-JGs/>
Cc: Mark Brown <>,
	Shawn Guo <>,
	Sascha Hauer <>,
	Alexander Shiyan <shc_work-JGs/>
Subject: [PATCH] spi: imx: Use dev_name() for request_irq() to distinguish SPIs
Date: Sat, 22 Feb 2014 17:23:46 +0400	[thread overview]
Message-ID: <> (raw)

Signed-off-by: Alexander Shiyan <shc_work-JGs/>
 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;

To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to
More majordomo info at

             reply	other threads:[~2014-02-22 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-22 13:23 Alexander Shiyan [this message]
     [not found] ` <1393075426-20882-1-git-send-email-shc_work-JGs/>
2014-02-23  1:46   ` [PATCH] spi: imx: Use dev_name() for request_irq() to distinguish SPIs Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \
    --to=shc_work-jgs/ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.