summaryrefslogtreecommitdiffstats
path: root/drivers/soc/samsung
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2017-01-30 13:18:56 +0100
committerKrzysztof Kozlowski <krzk@kernel.org>2017-01-31 20:30:02 +0100
commit402e73c5192b78ea4734f1c76fb7e68d9a41e3e2 (patch)
treef0be604ba7dbe8bd05c2f346e6910037a87c1650 /drivers/soc/samsung
parentLinux 4.10-rc2 (diff)
downloadlinux-402e73c5192b78ea4734f1c76fb7e68d9a41e3e2.tar.xz
linux-402e73c5192b78ea4734f1c76fb7e68d9a41e3e2.zip
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: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/soc/samsung')
-rw-r--r--drivers/soc/samsung/pm_domains.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c
index 7112004b8032..f265d326e132 100644
--- a/drivers/soc/samsung/pm_domains.c
+++ b/drivers/soc/samsung/pm_domains.c
@@ -227,10 +227,10 @@ no_clk:
if (of_genpd_add_subdomain(&parent, &child))
pr_warn("%s failed to add subdomain: %s\n",
- parent.np->name, child.np->name);
+ parent.np->full_name, child.np->full_name);
else
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;