summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq-dt.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2017-07-05 09:51:32 +0300
committerZhang Rui <rui.zhang@intel.com>2017-07-05 09:51:32 +0300
commit467aebee872af7f5e703809e19a66de633a1aa2c (patch)
tree21a80e16c5e7a3c1d34c60fb6f6274eb9e6c1347 /drivers/cpufreq/cpufreq-dt.c
parentc0bc126f97fb929b3ae02c1c62322645d70eb408 (diff)
parent1fe3854a83b580727c9464b37b62ba77ead1d6f6 (diff)
downloadlinux-467aebee872af7f5e703809e19a66de633a1aa2c.tar.xz
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal into thermal-soc
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt.c')
-rw-r--r--drivers/cpufreq/cpufreq-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c
index c943787d761e..fef3c2160691 100644
--- a/drivers/cpufreq/cpufreq-dt.c
+++ b/drivers/cpufreq/cpufreq-dt.c
@@ -326,7 +326,7 @@ static void cpufreq_ready(struct cpufreq_policy *policy)
&power_coefficient);
priv->cdev = of_cpufreq_power_cooling_register(np,
- policy->related_cpus, power_coefficient, NULL);
+ policy, power_coefficient, NULL);
if (IS_ERR(priv->cdev)) {
dev_err(priv->cpu_dev,
"running cpufreq without cooling device: %ld\n",