mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
66dfd10173
commit
cc87a358c5
1 changed files with 1 additions and 1 deletions
|
|
@ -660,7 +660,7 @@ static int mxs_mmc_probe(struct platform_device *pdev)
|
|||
platform_set_drvdata(pdev, mmc);
|
||||
|
||||
ret = devm_request_irq(&pdev->dev, irq_err, mxs_mmc_irq_handler, 0,
|
||||
DRIVER_NAME, host);
|
||||
dev_name(&pdev->dev), host);
|
||||
if (ret)
|
||||
goto out_free_dma;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue