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

Konrad Dybcio posted 1 patch 1 year, 3 months ago
drivers/cpufreq/mediatek-cpufreq.c | 2 --
1 file changed, 2 deletions(-)
[PATCH] cpufreq: mediatek-hw: Remove unused define
Posted by Konrad Dybcio 1 year, 3 months ago
DYNAMIC_POWER does not seem to be used anywhere in the tree, remove it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@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)
 {

---
base-commit: 21ef7b1e17d039053edaeaf41142423810572741
change-id: 20230810-topic-mtk_fixup-e1dbc955535f

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@linaro.org>
Re: [PATCH] cpufreq: mediatek-hw: Remove unused define
Posted by Viresh Kumar 1 year, 3 months ago
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@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