|
@@ -223,8 +223,7 @@ int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask
|
|
|
/* Get OPP descriptor node */
|
|
/* Get OPP descriptor node */
|
|
|
np = _of_get_opp_desc_node(cpu_dev);
|
|
np = _of_get_opp_desc_node(cpu_dev);
|
|
|
if (!np) {
|
|
if (!np) {
|
|
|
- dev_dbg(cpu_dev, "%s: Couldn't find opp node: %ld\n", __func__,
|
|
|
|
|
- PTR_ERR(np));
|
|
|
|
|
|
|
+ dev_dbg(cpu_dev, "%s: Couldn't find cpu_dev node.\n", __func__);
|
|
|
return -ENOENT;
|
|
return -ENOENT;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -247,9 +246,9 @@ int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask
|
|
|
/* Get OPP descriptor node */
|
|
/* Get OPP descriptor node */
|
|
|
tmp_np = _of_get_opp_desc_node(tcpu_dev);
|
|
tmp_np = _of_get_opp_desc_node(tcpu_dev);
|
|
|
if (!tmp_np) {
|
|
if (!tmp_np) {
|
|
|
- dev_err(tcpu_dev, "%s: Couldn't find opp node: %ld\n",
|
|
|
|
|
- __func__, PTR_ERR(tmp_np));
|
|
|
|
|
- ret = PTR_ERR(tmp_np);
|
|
|
|
|
|
|
+ dev_err(tcpu_dev, "%s: Couldn't find tcpu_dev node.\n",
|
|
|
|
|
+ __func__);
|
|
|
|
|
+ ret = -ENOENT;
|
|
|
goto put_cpu_node;
|
|
goto put_cpu_node;
|
|
|
}
|
|
}
|
|
|
|
|
|