Re: [PATCH V3] thermal: imx: fix for dependency on cpu-freq
From: Viresh Kumar
Date: Tue Nov 20 2018 - 22:54:36 EST
On Wed, Nov 21, 2018 at 8:11 AM Anson Huang <anson.huang@xxxxxxx> wrote:
> @@ -830,8 +851,7 @@ static int imx_thermal_probe(struct platform_device *pdev)
> clk_disable:
> clk_disable_unprepare(data->thermal_clk);
> cpufreq_put:
While at it, rename this label as well to something like legacy_cleanup.
> - cpufreq_cooling_unregister(data->cdev);
> - cpufreq_cpu_put(data->policy);
> + imx_thermal_unregister_legacy_cooling(data);
>
> return ret;
> }