projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'thermal-v6.4-rc1-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-starfive.git]
/
drivers
/
thermal
/
cpufreq_cooling.c
diff --git
a/drivers/thermal/cpufreq_cooling.c
b/drivers/thermal/cpufreq_cooling.c
index
65ef08b
..
e2cc7bd
100644
(file)
--- a/
drivers/thermal/cpufreq_cooling.c
+++ b/
drivers/thermal/cpufreq_cooling.c
@@
-633,7
+633,7
@@
of_cpufreq_cooling_register(struct cpufreq_policy *policy)
return NULL;
}
- if (of_
find_property(np, "#cooling-cells", NULL
)) {
+ if (of_
property_present(np, "#cooling-cells"
)) {
struct em_perf_domain *em = em_cpu_get(policy->cpu);
cdev = __cpufreq_cooling_register(np, policy, em);