diff options
-rw-r--r-- | drivers/spi/spi_sh_msiof.c | 2 |
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); |