diff options
-rw-r--r-- | drivers/spi/spi_s3c24xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c index 151a95e40653..1a5fcabfd565 100644 --- a/drivers/spi/spi_s3c24xx.c +++ b/drivers/spi/spi_s3c24xx.c | |||
@@ -668,7 +668,7 @@ static int __exit s3c24xx_spi_remove(struct platform_device *dev) | |||
668 | 668 | ||
669 | platform_set_drvdata(dev, NULL); | 669 | platform_set_drvdata(dev, NULL); |
670 | 670 | ||
671 | spi_unregister_master(hw->master); | 671 | spi_bitbang_stop(&hw->bitbang); |
672 | 672 | ||
673 | clk_disable(hw->clk); | 673 | clk_disable(hw->clk); |
674 | clk_put(hw->clk); | 674 | clk_put(hw->clk); |