]> asedeno.scripts.mit.edu Git - linux.git/commit
cpu_cooling: Make of_cpufreq_power_cooling_register() parse DT
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 5 Dec 2017 05:32:43 +0000 (11:02 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Dec 2017 21:52:01 +0000 (22:52 +0100)
commitf5f263fed66f75a4482d7ad49392b4283a05885a
tree230438b70d7eae17d8f4cd17bec052be342c19c4
parentae64f9bd1d3621b5e60d7363bc20afb46aede215
cpu_cooling: Make of_cpufreq_power_cooling_register() parse DT

All the callers of of_cpufreq_power_cooling_register() have almost
identical code and it makes more sense to move that code into the helper
as its all about reading DT properties.

This got rid of lot of redundant code.

Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/thermal/cpu-cooling-api.txt
drivers/cpufreq/arm_big_little.c
drivers/cpufreq/cpufreq-dt.c
drivers/cpufreq/mediatek-cpufreq.c
drivers/cpufreq/qoriq-cpufreq.c
drivers/thermal/cpu_cooling.c
include/linux/cpu_cooling.h