projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa50c4e
)
Thermal: exynos: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 3 May 2013 09:57:10 +0000
(09:57 +0000)
committer
Zhang Rui
<rui.zhang@intel.com>
Mon, 6 May 2013 14:37:02 +0000
(22:37 +0800)
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: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/exynos_thermal.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/thermal/exynos_thermal.c
b/drivers/thermal/exynos_thermal.c
index d20ce9e614034ba4077d797b5584cfad4d994727..992ae6e25112b19157fa899c47d80daef3d0c9f2 100644
(file)
--- a/
drivers/thermal/exynos_thermal.c
+++ b/
drivers/thermal/exynos_thermal.c
@@
-1001,7
+1001,6
@@
static int exynos_tmu_probe(struct platform_device *pdev)
return 0;
err_clk:
- platform_set_drvdata(pdev, NULL);
clk_unprepare(data->clk);
return ret;
}
@@
-1016,8
+1015,6
@@
static int exynos_tmu_remove(struct platform_device *pdev)
clk_unprepare(data->clk);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}
This page took
0.025773 seconds
and
5
git commands to generate.