]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Remove CONFIG_CPU_FREQ_STAT_DETAILS config option
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 5 Jan 2017 08:27:41 +0000 (13:57 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Feb 2017 22:59:39 +0000 (23:59 +0100)
commitbfccb113e2e0671a50a6a8ce03516fcf64f8e5a2
tree0a3c6bf9bfff9e3cd39fb86f3db9e8fbc8cf1000
parent48cbf3184ba0f977b43339a9d6d022a14e2ca24c
cpufreq: Remove CONFIG_CPU_FREQ_STAT_DETAILS config option

This doesn't have any benefit apart from saving a small amount of memory
when it is disabled. The ifdef hackery in the code makes it dirty
unnecessarily.

Clean it up by removing the Kconfig option completely. Few defconfigs
are also updated and CONFIG_CPU_FREQ_STAT_DETAILS is replaced with
CONFIG_CPU_FREQ_STAT now in them, as users wanted stats to be enabled.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/configs/exynos_defconfig
arch/arm/configs/multi_v5_defconfig
arch/arm/configs/multi_v7_defconfig
arch/arm/configs/mvebu_v5_defconfig
arch/arm/configs/pxa_defconfig
arch/arm/configs/shmobile_defconfig
arch/mips/configs/lemote2f_defconfig
arch/powerpc/configs/ppc6xx_defconfig
arch/sh/configs/sh7785lcr_32bit_defconfig
drivers/cpufreq/Kconfig
drivers/cpufreq/cpufreq_stats.c