From: Daniel Lezcano Subject: Re: [PATCH V5 1/2] thermal: imx: fix for dependency on cpu-freq Date: Wed, 21 Nov 2018 09:30:10 +0100 Message-ID: <45bf9c67-fd05-99e5-7f5d-3896c7d3fe31@linaro.org> References: <1542779052-29536-1-git-send-email-Anson.Huang@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <1542779052-29536-1-git-send-email-Anson.Huang@nxp.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Anson Huang , "rui.zhang@intel.com" , "edubezval@gmail.com" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "viresh.kumar@linaro.org" , "l.stach@pengutronix.de" Cc: dl-linux-imx List-Id: linux-pm@vger.kernel.org On 21/11/2018 06:49, Anson Huang wrote: > The thermal driver is a standalone driver for monitoring SoC temperature > by enabling thermal sensor, so it can be enabled even when CONFIG_CPU_FREQ > is NOT set. So remove the dependency with CPU_THERMAL. > > Introduce dummy function of legacy cooling register/unregister to make > thermal driver probe successfully when CONFIG_CPU_FREQ is NOT set. > > Signed-off-by: Anson Huang Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog