diff options
author | Sachin Kamat <[email protected]> | 2013-05-03 09:57:12 +0000 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2013-05-06 22:37:30 +0800 |
commit | 6135ba36f44069ad789bd9f8d6a75eebc3946eba (patch) | |
tree | 0efe38e6cb262f89be6e3a5c0c823fb69528d470 | |
parent | 0f3913bd2dce5a756ca2384c963087713762ab66 (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 <[email protected]>
Cc: Kuninori Morimoto <[email protected]>
Acked-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
-rw-r--r-- | drivers/thermal/rcar_thermal.c | 2 |
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) rcar_thermal_irq_disable(priv); } - platform_set_drvdata(pdev, NULL); - pm_runtime_put_sync(dev); pm_runtime_disable(dev); |