From patchwork Fri Jan 27 10:47:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 9541049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0B7DF60429 for ; Fri, 27 Jan 2017 10:50:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0070C2029C for ; Fri, 27 Jan 2017 10:50:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E659C27FC0; Fri, 27 Jan 2017 10:50:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77CDC2029C for ; Fri, 27 Jan 2017 10:50:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932744AbdA0Kt4 (ORCPT ); Fri, 27 Jan 2017 05:49:56 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:10635 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932665AbdA0KsG (ORCPT ); Fri, 27 Jan 2017 05:48:06 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKF00K0IQ03T380@mailout3.w1.samsung.com>; Fri, 27 Jan 2017 10:48:03 +0000 (GMT) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170127104802eucas1p231bb68c2dc31c3564aadd72cf6c96f14~dmy-qLB0d0413704137eucas1p22; Fri, 27 Jan 2017 10:48:02 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id 7B.0F.16908.4652B885; Fri, 27 Jan 2017 10:48:04 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170127104801eucas1p19a61c607387308a59bdf53fac3efba44~dmy_6SW5T1150811508eucas1p1j; Fri, 27 Jan 2017 10:48:01 +0000 (GMT) X-AuditID: cbfec7ef-f79d26d00000420c-93-588b2564536b Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 10.E0.06687.2A52B885; Fri, 27 Jan 2017 10:49:06 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKF003YLPZX2Z80@eusync4.samsung.com>; Fri, 27 Jan 2017 10:48:01 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Javier Martinez Canillas , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Inki Dae Subject: [PATCH 1/4] soc: samsung: pm_domains: Use full names in subdomains registration log Date: Fri, 27 Jan 2017 11:47:49 +0100 Message-id: <1485514072-29502-2-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1485514072-29502-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsWy7djPc7opqt0RBjd2qlhsnLGe1eL6l+es FpPuT2CxePN2DZPF+fMb2C0+9x5htJhxfh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azdTFy cQgJLGGUaJ30HqxISKCJSeLRU1YQm03AUKLrbRcbiC0iYC9x+8kydpAGZoG9TBKXp75gAkkI C8RJLJr7BKyIRUBVYsfpy4wgNq+Ah8SXhRdZILbJSZw8NhlsKKeAp8S5DTNYIZZ5SKxd94B1 AiPvAkaGVYwiqaXFuem5xYZ6xYm5xaV56XrJ+bmbGIFhve3Yz807GC9tDD7EKMDBqMTDGyHf FSHEmlhWXJl7iFGCg1lJhFdXrDtCiDclsbIqtSg/vqg0J7X4EKMp0FETmaVEk/OBMZdXEm9o YmhuaWhkbGFhbmSkJM5b8uFKuJBAemJJanZqakFqEUwfEwenVAOjbKrHg+S8cqu1zwvXPIne Zyq53PDgpNdFvfaWhgtjFkz6qZWyl5t729wrS3zVNvt7Ly9osfyjzvxmTqXxSa+8OxHnYs3+ zBKP4nP0tz9c3vO3kdtj/RoRp79m0xdMXOD0RvKeZogA862vLHvzg+YsqTdQ4BN7H8blKvvf 4v/c4pvhz98wmTcrsRRnJBpqMRcVJwIAooEc4IECAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170127104801eucas1p19a61c607387308a59bdf53fac3efba44 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170127104801eucas1p19a61c607387308a59bdf53fac3efba44 X-RootMTR: 20170127104801eucas1p19a61c607387308a59bdf53fac3efba44 References: <1485514072-29502-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/soc/samsung/pm_domains.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;