[media] media: coda: Use full device name for request_irq()
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 26 Apr 2014 09:14:46 +0000 (06:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 15:21:09 +0000 (12:21 -0300)
This will help to debug driver, allows us to see the full name of
the device through /proc/interrupts.

           CPU0
...
 69:          0  mxc-avic  53  10023000.coda
...

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c

index d9b1a04..b178379 100644 (file)
@@ -3233,7 +3233,7 @@ static int coda_probe(struct platform_device *pdev)
        }
 
        if (devm_request_threaded_irq(&pdev->dev, irq, NULL, coda_irq_handler,
-               IRQF_ONESHOT, CODA_NAME, dev) < 0) {
+               IRQF_ONESHOT, dev_name(&pdev->dev), dev) < 0) {
                dev_err(&pdev->dev, "failed to request irq\n");
                return -ENOENT;
        }