aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-01-17 11:01:07 -0500
committerGrant Likely <grant.likely@secretlab.ca>2011-01-17 12:17:36 -0500
commitd95defaca7994ffff1ceb52f3011eb644dfe3274 (patch)
tree85daa94cc138d7c5d45e3e8266c434baa4f72b54 /drivers/spi
parent672c54466d24994eb9633f993862c89539504a42 (diff)
spi/spi_sh_msiof: fix a wrong free_irq() parameter
Without this fix reloading of the driver is impossible. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi_sh_msiof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_sh_msiof.c b/drivers/spi/spi_sh_msiof.c
index d93b66743ba7..56f60c8ea0ab 100644
--- a/drivers/spi/spi_sh_msiof.c
+++ b/drivers/spi/spi_sh_msiof.c
@@ -635,7 +635,7 @@ static int sh_msiof_spi_remove(struct platform_device *pdev)
635 ret = spi_bitbang_stop(&p->bitbang); 635 ret = spi_bitbang_stop(&p->bitbang);
636 if (!ret) { 636 if (!ret) {
637 pm_runtime_disable(&pdev->dev); 637 pm_runtime_disable(&pdev->dev);
638 free_irq(platform_get_irq(pdev, 0), sh_msiof_spi_irq); 638 free_irq(platform_get_irq(pdev, 0), p);
639 iounmap(p->mapbase); 639 iounmap(p->mapbase);
640 clk_put(p->clk); 640 clk_put(p->clk);
641 spi_master_put(p->bitbang.master); 641 spi_master_put(p->bitbang.master);