[PATCH] cpufreq: mediatek-hw: Remove unused define

Viresh Kumar viresh.kumar at linaro.org
Thu Aug 10 17:45:43 PDT 2023


On 10-08-23, 20:12, Konrad Dybcio wrote:
> DYNAMIC_POWER does not seem to be used anywhere in the tree, remove it.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio at linaro.org>
> ---
>  drivers/cpufreq/mediatek-cpufreq.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
> index fef68cb2b38f..a0a61919bc4c 100644
> --- a/drivers/cpufreq/mediatek-cpufreq.c
> +++ b/drivers/cpufreq/mediatek-cpufreq.c
> @@ -313,8 +313,6 @@ static int mtk_cpufreq_set_target(struct cpufreq_policy *policy,
>  	return ret;
>  }
>  
> -#define DYNAMIC_POWER "dynamic-power-coefficient"
> -
>  static int mtk_cpufreq_opp_notifier(struct notifier_block *nb,
>  				    unsigned long event, void *data)
>  {

Applied. Thanks.

-- 
viresh



More information about the Linux-mediatek mailing list