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:
parent
d683b96b07
commit
26cb3bb149
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue