Skip to content

Commit aa0c38c

Browse files
committed
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal
Pull thermal SoC management fixes from Eduardo Valentin: "Minor fixes on of-thermal and cpu cooling" * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal: thermal: cpu_cooling: Clarify error message thermal: of-thermal: Print name of device node with error
2 parents fb7453e + bf78f13 commit aa0c38c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/thermal/cpu_cooling.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ of_cpufreq_cooling_register(struct cpufreq_policy *policy)
774774

775775
cdev = __cpufreq_cooling_register(np, policy, capacitance);
776776
if (IS_ERR(cdev)) {
777-
pr_err("cpu_cooling: cpu%d is not running as cooling device: %ld\n",
777+
pr_err("cpu_cooling: cpu%d failed to register as cooling device: %ld\n",
778778
policy->cpu, PTR_ERR(cdev));
779779
cdev = NULL;
780780
}

drivers/thermal/of-thermal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,14 +867,14 @@ __init *thermal_of_build_thermal_zone(struct device_node *np)
867867

868868
ret = of_property_read_u32(np, "polling-delay-passive", &prop);
869869
if (ret < 0) {
870-
pr_err("missing polling-delay-passive property\n");
870+
pr_err("%pOFn: missing polling-delay-passive property\n", np);
871871
goto free_tz;
872872
}
873873
tz->passive_delay = prop;
874874

875875
ret = of_property_read_u32(np, "polling-delay", &prop);
876876
if (ret < 0) {
877-
pr_err("missing polling-delay property\n");
877+
pr_err("%pOFn: missing polling-delay property\n", np);
878878
goto free_tz;
879879
}
880880
tz->polling_delay = prop;

0 commit comments

Comments
 (0)