Best Regards! Anson Huang
> -----Original Message----- > From: Viresh Kumar [mailto:viresh.ku...@linaro.org] > Sent: 2018年11月21日 11:54 > To: Anson Huang <anson.hu...@nxp.com> > Cc: Zhang Rui <rui.zh...@intel.com>; Eduardo Valentin > <edubez...@gmail.com>; Daniel Lezcano <daniel.lezc...@linaro.org>; Linux > PM list <linux...@vger.kernel.org>; Linux Kernel Mailing List > <linux-kernel@vger.kernel.org>; l.st...@pengutronix.de; dl-linux-imx > <linux-...@nxp.com> > Subject: Re: [PATCH V3] thermal: imx: fix for dependency on cpu-freq > > On Wed, Nov 21, 2018 at 8:11 AM Anson Huang <anson.hu...@nxp.com> > 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. Done with V4 patch, thanks. Anson. > > > - cpufreq_cooling_unregister(data->cdev); > > - cpufreq_cpu_put(data->policy); > > + imx_thermal_unregister_legacy_cooling(data); > > > > return ret; > > }