Commit 8471090479df5aa0a439c1dd673c3d4904ea7c1d

Authored by Sachin Kamat
Committed by Mark Brown
1 parent e4aa937ec7

spi: spi-s3c24xx: Remove redundant platform_set_drvdata()

Setting platform data to NULL is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

drivers/spi/spi-s3c24xx.c
... ... @@ -667,8 +667,6 @@
667 667 {
668 668 struct s3c24xx_spi *hw = platform_get_drvdata(dev);
669 669  
670   - platform_set_drvdata(dev, NULL);
671   -
672 670 spi_bitbang_stop(&hw->bitbang);
673 671  
674 672 clk_disable(hw->clk);