|
@@ -469,6 +469,7 @@ static int rcar_thermal_remove(struct platform_device *pdev)
|
|
|
|
|
|
rcar_thermal_for_each_priv(priv, common) {
|
|
rcar_thermal_for_each_priv(priv, common) {
|
|
rcar_thermal_irq_disable(priv);
|
|
rcar_thermal_irq_disable(priv);
|
|
|
|
+ cancel_delayed_work_sync(&priv->work);
|
|
if (priv->chip->use_of_thermal)
|
|
if (priv->chip->use_of_thermal)
|
|
thermal_remove_hwmon_sysfs(priv->zone);
|
|
thermal_remove_hwmon_sysfs(priv->zone);
|
|
else
|
|
else
|