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:
d0695f4
)
staging: iio: spear_adc: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 6 Jun 2013 09:27:00 +0000
(10:27 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Thu, 6 Jun 2013 18:47:18 +0000
(19:47 +0100)
Commit
0998d06310
(device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/spear_adc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/adc/spear_adc.c
b/drivers/staging/iio/adc/spear_adc.c
index f45da4266950aca0dcfae51aba7b49fea47c40a6..25a06cbe16c02264c7693af157cf81a5953e3158 100644
(file)
--- a/
drivers/staging/iio/adc/spear_adc.c
+++ b/
drivers/staging/iio/adc/spear_adc.c
@@
-407,7
+407,6
@@
static int spear_adc_remove(struct platform_device *pdev)
struct spear_adc_info *info = iio_priv(iodev);
iio_device_unregister(iodev);
- platform_set_drvdata(pdev, NULL);
clk_disable_unprepare(info->clk);
clk_put(info->clk);
iounmap(info->adc_base_spear6xx);