aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-03 05:57:12 -0400
committerZhang Rui <rui.zhang@intel.com>2013-05-06 10:37:30 -0400
commit6135ba36f44069ad789bd9f8d6a75eebc3946eba (patch)
tree0efe38e6cb262f89be6e3a5c0c823fb69528d470 /drivers/thermal
parent0f3913bd2dce5a756ca2384c963087713762ab66 (diff)
Thermal: rcar: 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> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/rcar_thermal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 8d7edd4c8228..63c7c13d79f3 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -487,8 +487,6 @@ static int rcar_thermal_remove(struct platform_device *pdev)
487 rcar_thermal_irq_disable(priv); 487 rcar_thermal_irq_disable(priv);
488 } 488 }
489 489
490 platform_set_drvdata(pdev, NULL);
491
492 pm_runtime_put_sync(dev); 490 pm_runtime_put_sync(dev);
493 pm_runtime_disable(dev); 491 pm_runtime_disable(dev);
494 492