[PATCH v4 1/4] thermal: rockchip: add driver for thermal
From: Caesar Wang <hidden>
Date: 2014-09-05 00:33:33
Also in:
linux-devicetree, linux-pm, lkml
From: Caesar Wang <hidden>
Date: 2014-09-05 00:33:33
Also in:
linux-devicetree, linux-pm, lkml
? 2014?09?05? 01:06, Dmitry Torokhov ??:
Hi Caesar, On Wed, Sep 03, 2014 at 10:10:36AM +0800, Caesar Wang wrote:quoted
+static int rockchip_thermal_remove(struct platform_device *pdev) +{ + struct rockchip_thermal_data *data = platform_get_drvdata(pdev); + + rockchip_thermal_control(data, false); + + thermal_zone_device_unregister(data->tz); + cpufreq_cooling_unregister(data->cdev); + cpufreq_cooling_unregister(data->cdev);It looks like we are unregistering the same cooling device one too many times. Thanks.
yes,I made a stupid mistake. Thanks~ -- Best regards, Caesar