projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d683b96
)
spi: spi-nuc900: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 31 May 2013 07:59:06 +0000
(13:29 +0530)
committer
Mark Brown
<broonie@linaro.org>
Thu, 6 Jun 2013 10:58:11 +0000
(11:58 +0100)
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>
drivers/spi/spi-nuc900.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-nuc900.c
b/drivers/spi/spi-nuc900.c
index b3f9ec83ef7361b98c05d1c42a9ee40949ab585b..150d85453c27d2c2d5347402113cc52547180db4 100644
(file)
--- 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);