Message ID | 1485778740-30337-2-git-send-email-m.szyprowski@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Mon, Jan 30, 2017 at 01:18:56PM +0100, Marek Szyprowski wrote: > 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> > --- > drivers/soc/samsung/pm_domains.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks, applied. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c index 15bad1543409..c33196087e9f 100644 --- a/drivers/soc/samsung/pm_domains.c +++ b/drivers/soc/samsung/pm_domains.c @@ -234,10 +234,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;
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> --- drivers/soc/samsung/pm_domains.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)