diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-31 13:29:06 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-06 11:58:11 +0100 |
commit | 26cb3bb14950ee017f311f3bf1ae82f95ee0be64 (patch) | |
tree | 8e2ec47581fb8135a4cd53c254716a1a9659852b /drivers/spi | |
parent | d683b96b072dc4680fc74964eca77e6a23d1fa6e (diff) | |
download | kernel_goldelico_gta04-26cb3bb14950ee017f311f3bf1ae82f95ee0be64.zip kernel_goldelico_gta04-26cb3bb14950ee017f311f3bf1ae82f95ee0be64.tar.gz kernel_goldelico_gta04-26cb3bb14950ee017f311f3bf1ae82f95ee0be64.tar.bz2 |
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-nuc900.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 @@ 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); |