cpufreq: vexpress: Set CPUFREQ_IS_COOLING_DEV flag
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 11 Aug 2021 04:52:55 +0000 (10:22 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 12 Aug 2021 04:24:07 +0000 (09:54 +0530)
commitbb8c26d9387fe428068dcab35b1873ea3b881de1
tree92d9de370cbfa5864d443dc7d52ed76f41a647e8
parent484f2b7c61b9ae58cc00c5127bcbcd9177af8dfe
cpufreq: vexpress: Set CPUFREQ_IS_COOLING_DEV flag

Reuse the cpufreq core's registration of cooling device by setting the
CPUFREQ_IS_COOLING_DEV flag. Set this only if bL switcher isn't enabled.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/vexpress-spc-cpufreq.c