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>
This commit is contained in:
Sachin Kamat 2013-05-31 13:29:07 +05:30 коммит произвёл Mark Brown
Родитель e4aa937ec7
Коммит 8471090479
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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);