diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-12-05 11:02:45 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-12-07 22:52:01 +0100 |
commit | 3ebb62ffc4e4817c3288cdf7ed67ccaf453385e3 (patch) | |
tree | da03e6ce681e3777478267971555d7e6646e6cf3 /drivers/cpufreq/arm_big_little.c | |
parent | ba0966da208ef0793486502a0e6b929fbd6d4223 (diff) | |
download | blackbird-obmc-linux-3ebb62ffc4e4817c3288cdf7ed67ccaf453385e3.tar.gz blackbird-obmc-linux-3ebb62ffc4e4817c3288cdf7ed67ccaf453385e3.zip |
cpu_cooling: Keep only one of_cpufreq*cooling_register() helper
of_cpufreq_cooling_register() isn't used by anyone and so can be
removed, but then we would be left with two routines:
cpufreq_cooling_register() and of_cpufreq_power_cooling_register() that
would look odd.
Remove current implementation of of_cpufreq_cooling_register() and
rename of_cpufreq_power_cooling_register() as
of_cpufreq_cooling_register(). This simplifies lots of stuff.
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>
Diffstat (limited to 'drivers/cpufreq/arm_big_little.c')
-rw-r--r-- | drivers/cpufreq/arm_big_little.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c index 3d5ed4ef3927..c56b57dcfda5 100644 --- a/drivers/cpufreq/arm_big_little.c +++ b/drivers/cpufreq/arm_big_little.c @@ -532,7 +532,7 @@ static void bL_cpufreq_ready(struct cpufreq_policy *policy) if (cur_cluster >= MAX_CLUSTERS) return; - cdev[cur_cluster] = of_cpufreq_power_cooling_register(policy); + cdev[cur_cluster] = of_cpufreq_cooling_register(policy); } static struct cpufreq_driver bL_cpufreq_driver = { |