commit | 26cb3bb14950ee017f311f3bf1ae82f95ee0be64 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Fri May 31 13:29:06 2013 +0530 |
committer | Mark Brown <broonie@linaro.org> | Thu Jun 06 11:58:11 2013 +0100 |
tree | 8e2ec47581fb8135a4cd53c254716a1a9659852b | |
parent | d683b96b072dc4680fc74964eca77e6a23d1fa6e [diff] |
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>
diff --git a/drivers/spi/spi-nuc900.c b/drivers/spi/spi-nuc900.c index b3f9ec8..150d854 100644 --- a/drivers/spi/spi-nuc900.c +++ b/drivers/spi/spi-nuc900.c
@@ -459,8 +459,6 @@ free_irq(hw->irq, hw); - platform_set_drvdata(dev, NULL); - spi_bitbang_stop(&hw->bitbang); clk_disable(hw->clk);