diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-31 13:29:07 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-01 20:17:36 +0100 |
commit | 8471090479df5aa0a439c1dd673c3d4904ea7c1d (patch) | |
tree | e0160c5f53b1e594b8bb0a843373f4d06147463f /drivers/spi | |
parent | e4aa937ec75df0eea0bee03bffa3303ad36c986b (diff) | |
download | blackbird-op-linux-8471090479df5aa0a439c1dd673c3d4904ea7c1d.tar.gz blackbird-op-linux-8471090479df5aa0a439c1dd673c3d4904ea7c1d.zip |
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>
Diffstat (limited to 'drivers/spi')
-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) { struct s3c24xx_spi *hw = platform_get_drvdata(dev); - platform_set_drvdata(dev, NULL); - spi_bitbang_stop(&hw->bitbang); clk_disable(hw->clk); |