Commit 26cb3bb1 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown

spi: spi-nuc900: Remove redundant platform_set_drvdata()

Setting platform data to NULL is not necessary.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent d683b96b
......@@ -459,8 +459,6 @@ static int nuc900_spi_remove(struct platform_device *dev)
free_irq(hw->irq, hw);
platform_set_drvdata(dev, NULL);
spi_bitbang_stop(&hw->bitbang);
clk_disable(hw->clk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment