aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/thermal/dove_thermal.c1
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}