Commit 402e73c5 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Krzysztof Kozlowski

soc: samsung: pm_domains: Use full names in subdomains registration log

Device tree none name for each power domain should be "power-domain", so
use a bit more descriptive full node name in messages about subdomain
registration. This way the following meaningless message:

power-domain has as child subdomain: power-domain.

is changed to a bit more meaningful one:

/soc/power-domain@105c40a0 has as child subdomain: /soc/power-domain@105c4020.
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 0c744ea4
...@@ -227,10 +227,10 @@ static __init int exynos4_pm_init_power_domain(void) ...@@ -227,10 +227,10 @@ static __init int exynos4_pm_init_power_domain(void)
if (of_genpd_add_subdomain(&parent, &child)) if (of_genpd_add_subdomain(&parent, &child))
pr_warn("%s failed to add subdomain: %s\n", pr_warn("%s failed to add subdomain: %s\n",
parent.np->name, child.np->name); parent.np->full_name, child.np->full_name);
else else
pr_info("%s has as child subdomain: %s.\n", pr_info("%s has as child subdomain: %s.\n",
parent.np->name, child.np->name); parent.np->full_name, child.np->full_name);
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment