Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -227,10 +227,10 @@ static __init int exynos4_pm_init_power_domain(void)

		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;