|
@@ -635,7 +635,7 @@ static int sh_msiof_spi_remove(struct platform_device *pdev)
|
|
ret = spi_bitbang_stop(&p->bitbang);
|
|
ret = spi_bitbang_stop(&p->bitbang);
|
|
if (!ret) {
|
|
if (!ret) {
|
|
pm_runtime_disable(&pdev->dev);
|
|
pm_runtime_disable(&pdev->dev);
|
|
- free_irq(platform_get_irq(pdev, 0), sh_msiof_spi_irq);
|
|
|
|
|
|
+ free_irq(platform_get_irq(pdev, 0), p);
|
|
iounmap(p->mapbase);
|
|
iounmap(p->mapbase);
|
|
clk_put(p->clk);
|
|
clk_put(p->clk);
|
|
spi_master_put(p->bitbang.master);
|
|
spi_master_put(p->bitbang.master);
|