summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-nuc900.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-31 13:29:06 +0530
committerMark Brown <broonie@linaro.org>2013-06-06 11:58:11 +0100
commit26cb3bb14950ee017f311f3bf1ae82f95ee0be64 (patch)
tree8e2ec47581fb8135a4cd53c254716a1a9659852b /drivers/spi/spi-nuc900.c
parentd683b96b072dc4680fc74964eca77e6a23d1fa6e (diff)
downloadtalos-obmc-linux-26cb3bb14950ee017f311f3bf1ae82f95ee0be64.tar.gz
talos-obmc-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/spi/spi-nuc900.c')
-rw-r--r--drivers/spi/spi-nuc900.c2
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);
OpenPOWER on IntegriCloud