aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/armada_thermal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index 5b4d75fd7b49..0d02d4edeecb 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -210,7 +210,6 @@ static int armada_thermal_exit(struct platform_device *pdev)
210 platform_get_drvdata(pdev); 210 platform_get_drvdata(pdev);
211 211
212 thermal_zone_device_unregister(armada_thermal); 212 thermal_zone_device_unregister(armada_thermal);
213 platform_set_drvdata(pdev, NULL);
214 213
215 return 0; 214 return 0;
216} 215}