diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-11-17 21:37:12 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-26 08:31:02 -0500 |
commit | cc87a358c5759b23866d656417db2d6d7e0a4657 (patch) | |
tree | 834b34b4a5a5f546ab66954497391203ce6b0115 | |
parent | 66dfd10173159cafa9cb0d39936b8daeaab8e3e0 (diff) |
mmc: mxs-mmc: Register the irq with the device name
Instead of registering the irq name with the driver's name, it's better to pass
the device name so that we have a more explicit indication as to what mmc
instance the irq is related:
$ cat /proc/interrupts
CPU0
...
26: 6 - 96 80010000.ssp
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/host/mxs-mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c index cd74e5143c36..339059a9a648 100644 --- a/drivers/mmc/host/mxs-mmc.c +++ b/drivers/mmc/host/mxs-mmc.c | |||
@@ -660,7 +660,7 @@ static int mxs_mmc_probe(struct platform_device *pdev) | |||
660 | platform_set_drvdata(pdev, mmc); | 660 | platform_set_drvdata(pdev, mmc); |
661 | 661 | ||
662 | ret = devm_request_irq(&pdev->dev, irq_err, mxs_mmc_irq_handler, 0, | 662 | ret = devm_request_irq(&pdev->dev, irq_err, mxs_mmc_irq_handler, 0, |
663 | DRIVER_NAME, host); | 663 | dev_name(&pdev->dev), host); |
664 | if (ret) | 664 | if (ret) |
665 | goto out_free_dma; | 665 | goto out_free_dma; |
666 | 666 | ||