diff options
author | Yue Hu <huyue2@yulong.com> | 2019-04-09 23:59:52 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-04-10 04:00:50 -0400 |
commit | 9df1e2c60d2b90024d5c2544f07ac9f539524322 (patch) | |
tree | 458cd8b8473fd55eadab9de78e6850f54781da24 | |
parent | fcccc5c838c1999785a5aeb9e3bdcd00957f3e15 (diff) |
cpufreq: boost: Remove CONFIG_CPU_FREQ_BOOST_SW Kconfig option
Commit 2fb4719b2560 ("cpufreq / boost: Kconfig: Support for
software-managed BOOST") added the CONFIG_CPU_FREQ_BOOST_SW config.
However EXYNOS based cpufreq drivers have been removed because of
switching to cpufreq-dt driver which will set boost-attr if required.
So, let's remove this option and update cpufreq_generic_attr[].
Signed-off-by: Yue Hu <huyue2@yulong.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/Kconfig | 4 | ||||
-rw-r--r-- | drivers/cpufreq/freq_table.c | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index b22e6bba71f1..4d2b33a30292 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig | |||
@@ -26,10 +26,6 @@ config CPU_FREQ_GOV_COMMON | |||
26 | select IRQ_WORK | 26 | select IRQ_WORK |
27 | bool | 27 | bool |
28 | 28 | ||
29 | config CPU_FREQ_BOOST_SW | ||
30 | bool | ||
31 | depends on THERMAL | ||
32 | |||
33 | config CPU_FREQ_STAT | 29 | config CPU_FREQ_STAT |
34 | bool "CPU frequency transition statistics" | 30 | bool "CPU frequency transition statistics" |
35 | help | 31 | help |
diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c index 3a8cc99e6815..e7be0af3199f 100644 --- a/drivers/cpufreq/freq_table.c +++ b/drivers/cpufreq/freq_table.c | |||
@@ -290,9 +290,6 @@ EXPORT_SYMBOL_GPL(cpufreq_freq_attr_scaling_boost_freqs); | |||
290 | 290 | ||
291 | struct freq_attr *cpufreq_generic_attr[] = { | 291 | struct freq_attr *cpufreq_generic_attr[] = { |
292 | &cpufreq_freq_attr_scaling_available_freqs, | 292 | &cpufreq_freq_attr_scaling_available_freqs, |
293 | #ifdef CONFIG_CPU_FREQ_BOOST_SW | ||
294 | &cpufreq_freq_attr_scaling_boost_freqs, | ||
295 | #endif | ||
296 | NULL, | 293 | NULL, |
297 | }; | 294 | }; |
298 | EXPORT_SYMBOL_GPL(cpufreq_generic_attr); | 295 | EXPORT_SYMBOL_GPL(cpufreq_generic_attr); |