diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-31 09:59:06 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-06 12:58:11 +0200 |
commit | 26cb3bb14950ee017f311f3bf1ae82f95ee0be64 (patch) | |
tree | 8e2ec47581fb8135a4cd53c254716a1a9659852b /drivers | |
parent | Linux 3.10-rc4 (diff) | |
download | linux-26cb3bb14950ee017f311f3bf1ae82f95ee0be64.tar.xz linux-26cb3bb14950ee017f311f3bf1ae82f95ee0be64.zip |
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')
-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 b3f9ec83ef73..150d85453c27 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); |