diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-11-10 22:25:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-10 22:37:30 +0300 |
commit | 617100c2711691e07728d3201fbcfa845a7c36d5 (patch) | |
tree | 36ffd9d6fe3b6b86c8bab3073dd834b279784e45 | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | linux-617100c2711691e07728d3201fbcfa845a7c36d5.tar.xz |
spi: spi-mxs: Register the irq with the device name
Instead of registering the irq name with the driver name, it's better to pass
the device name so that we have a more explicit indication as to what spi
instance the irq is related:
$ cat /proc/interrupts
CPU0
...
27: 0 - 98 80014000.ssp
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-mxs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c index 51460878af04..a9e72f9d385e 100644 --- a/drivers/spi/spi-mxs.c +++ b/drivers/spi/spi-mxs.c @@ -511,7 +511,7 @@ static int mxs_spi_probe(struct platform_device *pdev) init_completion(&spi->c); ret = devm_request_irq(&pdev->dev, irq_err, mxs_ssp_irq_handler, 0, - DRIVER_NAME, ssp); + dev_name(&pdev->dev), ssp); if (ret) goto out_master_free; |