diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-03 09:57:10 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-06 22:37:02 +0800 |
commit | a2071b0b449e6cb725a15932590ee5753c39d282 (patch) | |
tree | 685c0b8ed1a79d0bf4caf8d0d952482cb634fa72 /drivers/thermal/exynos_thermal.c | |
parent | aa50c4e49c650692559e2da1f5b49a145098ba71 (diff) |
Thermal: exynos: Remove redundant platform_set_drvdata()
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>
Diffstat (limited to 'drivers/thermal/exynos_thermal.c')
-rw-r--r-- | drivers/thermal/exynos_thermal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index d20ce9e6140..992ae6e2511 100644 --- 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; } |