spi: spi-nuc900: 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:06 +05:30 committed by Mark Brown
parent d683b96b07
commit 26cb3bb149

View file

@ -459,8 +459,6 @@ static int nuc900_spi_remove(struct platform_device *dev)
free_irq(hw->irq, hw); free_irq(hw->irq, hw);
platform_set_drvdata(dev, NULL);
spi_bitbang_stop(&hw->bitbang); spi_bitbang_stop(&hw->bitbang);
clk_disable(hw->clk); clk_disable(hw->clk);