提交 26cb3bb1 编写于 作者: S Sachin Kamat 提交者: Mark Brown

spi: spi-nuc900: Remove redundant platform_set_drvdata()

Setting platform data to NULL is not necessary.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部