cpufreq: boost: Remove CONFIG_CPU_FREQ_BOOST_SW Kconfig option
authorYue Hu <huyue2@yulong.com>
Wed, 10 Apr 2019 03:59:52 +0000 (11:59 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Apr 2019 08:00:50 +0000 (10:00 +0200)
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>
drivers/cpufreq/Kconfig
drivers/cpufreq/freq_table.c

index b22e6bba71f1510618370bc7ce223cabe38717f1..4d2b33a30292a508453ea9458c43a01df1253af8 100644 (file)
@@ -26,10 +26,6 @@ config CPU_FREQ_GOV_COMMON
        select IRQ_WORK
        bool
 
-config CPU_FREQ_BOOST_SW
-       bool
-       depends on THERMAL
-
 config CPU_FREQ_STAT
        bool "CPU frequency transition statistics"
        help
index 3a8cc99e6815fa4c1597e9cd5f2367bcc1d40d6c..e7be0af3199f852578af1f27f49717eb3a1e9bac 100644 (file)
@@ -290,9 +290,6 @@ EXPORT_SYMBOL_GPL(cpufreq_freq_attr_scaling_boost_freqs);
 
 struct freq_attr *cpufreq_generic_attr[] = {
        &cpufreq_freq_attr_scaling_available_freqs,
-#ifdef CONFIG_CPU_FREQ_BOOST_SW
-       &cpufreq_freq_attr_scaling_boost_freqs,
-#endif
        NULL,
 };
 EXPORT_SYMBOL_GPL(cpufreq_generic_attr);