diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-03 05:57:09 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-06 10:37:00 -0400 |
commit | aa50c4e49c650692559e2da1f5b49a145098ba71 (patch) | |
tree | 1bdda9ee7e83785ab41c9aa7a664187dfad0f175 /drivers/thermal | |
parent | 2a456cfbdbcdf8a6a9e041f256f7e859a271a301 (diff) |
Thermal: dove_thermal: 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: Andrew Lunn <andrew@lunn.ch>
Acked-by: Andrew Lunn <andrew@lunn.ch>
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/dove_thermal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c index 4b15a5f270dc..900479e69ccb 100644 --- a/drivers/thermal/dove_thermal.c +++ b/drivers/thermal/dove_thermal.c | |||
@@ -182,7 +182,6 @@ static int dove_thermal_exit(struct platform_device *pdev) | |||
182 | platform_get_drvdata(pdev); | 182 | platform_get_drvdata(pdev); |
183 | 183 | ||
184 | thermal_zone_device_unregister(dove_thermal); | 184 | thermal_zone_device_unregister(dove_thermal); |
185 | platform_set_drvdata(pdev, NULL); | ||
186 | 185 | ||
187 | return 0; | 186 | return 0; |
188 | } | 187 | } |