cpufreq: scpi: drop redundant arm_big_little config dependency

Message ID 1519322423-27956-1-git-send-email-sudeep.holla@arm.com
State Superseded
Headers show
Series
  • cpufreq: scpi: drop redundant arm_big_little config dependency
Related show

Commit Message

Sudeep Holla Feb. 22, 2018, 6 p.m.
Commit 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency)
removed the SCPI cpufreq dependency on arm_big_little cpufreq driver.
However the Kconfig entry still depends on ARM_BIG_LITTLE_CPUFREQ
which is clearly wrong.

This patch removes that unnecessary Kconfig dependency.

Fixes: 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency)
Reported-by: Quentin Perret <quentin.perret@arm.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

---
 drivers/cpufreq/Kconfig.arm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.7.4

Comments

Viresh Kumar Feb. 23, 2018, 4:22 a.m. | #1
On 22-02-18, 18:00, Sudeep Holla wrote:

Not sure if 'redundant' is the right term to be used here. I would
rather say: "Fix incorrect config dependency" :)

> Commit 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency)

> removed the SCPI cpufreq dependency on arm_big_little cpufreq driver.

> However the Kconfig entry still depends on ARM_BIG_LITTLE_CPUFREQ

> which is clearly wrong.

> 

> This patch removes that unnecessary Kconfig dependency.

> 

> Fixes: 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency)

> Reported-by: Quentin Perret <quentin.perret@arm.com>

> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>

> Cc: Viresh Kumar <viresh.kumar@linaro.org>

> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

> ---

>  drivers/cpufreq/Kconfig.arm | 6 +++---

>  1 file changed, 3 insertions(+), 3 deletions(-)

> 

> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm

> index 2e49673a9e21..9bbb5b39d18a 100644

> --- a/drivers/cpufreq/Kconfig.arm

> +++ b/drivers/cpufreq/Kconfig.arm

> @@ -44,10 +44,10 @@ config ARM_DT_BL_CPUFREQ

>  

>  config ARM_SCPI_CPUFREQ

>  	tristate "SCPI based CPUfreq driver"

> -	depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI

> +	depends on ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI

>  	help

> -	  This adds the CPUfreq driver support for ARM big.LITTLE platforms

> -	  using SCPI protocol for CPU power management.

> +	  This adds the CPUfreq driver support for ARM platforms using SCPI

> +	  protocol for CPU power management.

>  

>  	  This driver uses SCPI Message Protocol driver to interact with the

>  	  firmware providing the CPU DVFS functionality.


Acked-by: Viresh Kumar <viresh.kumar@linaro.org>


-- 
viresh

Patch

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 2e49673a9e21..9bbb5b39d18a 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -44,10 +44,10 @@  config ARM_DT_BL_CPUFREQ
 
 config ARM_SCPI_CPUFREQ
 	tristate "SCPI based CPUfreq driver"
-	depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
+	depends on ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
 	help
-	  This adds the CPUfreq driver support for ARM big.LITTLE platforms
-	  using SCPI protocol for CPU power management.
+	  This adds the CPUfreq driver support for ARM platforms using SCPI
+	  protocol for CPU power management.
 
 	  This driver uses SCPI Message Protocol driver to interact with the
 	  firmware providing the CPU DVFS functionality.