mmc: let tmio-mmc use dev_name() with request_irq()
authorMagnus Damm <[email protected]>
Tue, 15 Dec 2009 02:01:33 +0000 (18:01 -0800)
committerLinus Torvalds <[email protected]>
Tue, 15 Dec 2009 16:53:35 +0000 (08:53 -0800)
Improve the /proc/interrupts output so the irq number can be mapped to
platform device on boards with multiple tmio_mmc instances.

Signed-off-by: Magnus Damm <[email protected]>
Cc: <[email protected]>
Cc: Paul Mundt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/mmc/host/tmio_mmc.c

index 91991b460c4547c7a90a583ca987f087c6babd53..7cccc852374772d4d2479e4eb9f681a5bdb74bb5 100644 (file)
@@ -591,7 +591,7 @@ static int __devinit tmio_mmc_probe(struct platform_device *dev)
        disable_mmc_irqs(host, TMIO_MASK_ALL);
 
        ret = request_irq(host->irq, tmio_mmc_irq, IRQF_DISABLED |
-               IRQF_TRIGGER_FALLING, "tmio-mmc", host);
+               IRQF_TRIGGER_FALLING, dev_name(&dev->dev), host);
        if (ret)
                goto unmap_cnf;