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:
e4aa937
)
spi: spi-s3c24xx: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 31 May 2013 07:59:07 +0000
(13:29 +0530)
committer
Mark Brown
<broonie@linaro.org>
Sat, 1 Jun 2013 19:17:36 +0000
(20:17 +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-s3c24xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-s3c24xx.c
b/drivers/spi/spi-s3c24xx.c
index 02d64603fcc54988f33b1ad74e89a27fdf31a216..68910b3101525e88bf9fcf675f7755ef5d790a04 100644
(file)
--- a/
drivers/spi/spi-s3c24xx.c
+++ b/
drivers/spi/spi-s3c24xx.c
@@
-667,8
+667,6
@@
static int s3c24xx_spi_remove(struct platform_device *dev)
{
struct s3c24xx_spi *hw = platform_get_drvdata(dev);
- platform_set_drvdata(dev, NULL);
-
spi_bitbang_stop(&hw->bitbang);
clk_disable(hw->clk);