diff options
| -rw-r--r-- | drivers/spi/spi-s3c24xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index 02d64603fcc5..68910b310152 100644 --- a/drivers/spi/spi-s3c24xx.c +++ b/drivers/spi/spi-s3c24xx.c | |||
| @@ -667,8 +667,6 @@ static int s3c24xx_spi_remove(struct platform_device *dev) | |||
| 667 | { | 667 | { |
| 668 | struct s3c24xx_spi *hw = platform_get_drvdata(dev); | 668 | struct s3c24xx_spi *hw = platform_get_drvdata(dev); |
| 669 | 669 | ||
| 670 | platform_set_drvdata(dev, NULL); | ||
| 671 | |||
| 672 | spi_bitbang_stop(&hw->bitbang); | 670 | spi_bitbang_stop(&hw->bitbang); |
| 673 | 671 | ||
| 674 | clk_disable(hw->clk); | 672 | clk_disable(hw->clk); |
