From patchwork Fri Jan 27 10:47:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 9541043 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 7FD4B60429 for ; Fri, 27 Jan 2017 10:49:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74E0F2029C for ; Fri, 27 Jan 2017 10:49:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67A7C27F9F; Fri, 27 Jan 2017 10:49:57 +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 076D72029C for ; Fri, 27 Jan 2017 10:49:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932742AbdA0Ktz (ORCPT ); Fri, 27 Jan 2017 05:49:55 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:14722 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932673AbdA0KsG (ORCPT ); Fri, 27 Jan 2017 05:48:06 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKF00G2QQ03RC80@mailout1.w1.samsung.com>; Fri, 27 Jan 2017 10:48:03 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170127104802eucas1p2211a50779f33bbf2746708a4b3f4a4a4~dmzAPnUxF1156911569eucas1p2k; Fri, 27 Jan 2017 10:48:02 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2.samsung.com (EUCPMTA) with SMTP id C2.62.30614.2652B885; Fri, 27 Jan 2017 10:48:02 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170127104801eucas1p2287962bae474ca786644de4ad6a11f57~dmy-dsf3D2697326973eucas1p2X; Fri, 27 Jan 2017 10:48:01 +0000 (GMT) X-AuditID: cbfec7f1-f793f6d000007796-75-588b256214be Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 82.60.10233.F552B885; Fri, 27 Jan 2017 10:47:59 +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 2/4] soc: samsung: pm_domains: Remove unused name field Date: Fri, 27 Jan 2017 11:47:50 +0100 Message-id: <1485514072-29502-3-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: H4sIAAAAAAAAAzWRXUhTYRjHe3c+NzxxmqJP5gcNhEhcLbs4ZVhS4IwugoqWN23pSa1Nx+Zn VyK2amtp02hY2ir0YjhdSyzQTDaZWbEpCiLid6a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YDzD2cXIySEhYCLxcNJjZghbTOLCvfVsXYxc HEICSxgl1l+exwiSEBJoYpJ49JQVxGYTMJToetvFBmKLCNhL3H6yjB2kgVlgL5PE5akvmEAS wgLuEnunfAJrZhFQlWi6eBismVfAQ+L+5nMsENvkJE4emwwW5xTwlDi3YQYrxDIPibXrHrBO YORdwMiwilEktbQ4Nz232EivODG3uDQvXS85P3cTIzCstx37uWUHY9e74EOMAhyMSjy8EfJd EUKsiWXFlbmHGCU4mJVEeHXFuiOEeFMSK6tSi/Lji0pzUosPMZoCHTWRWUo0OR8Yc3kl8YYm huaWhkbGFhbmRkZK4rxTP1wJFxJITyxJzU5NLUgtgulj4uCUamD0ur+Gv6fHzGdNStZK2Xkc /14yF/+YoPXw8srjn7mymDs2dHt/e/p6y0J186vTnUvWfa+aeuojZ8CSLV9Vwl9X7irvLW/P N50ZXVz2/93Vhg+n+aa8dQ7eEnPdxcqsIvfuo/XBXmsdOo+vs3I4KnjsKHeamsq7L02lFT+4 F5+LTzK47n5VYJqPEktxRqKhFnNRcSIAcT1MAIECAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170127104801eucas1p2287962bae474ca786644de4ad6a11f57 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 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: 20170127104801eucas1p2287962bae474ca786644de4ad6a11f57 X-RootMTR: 20170127104801eucas1p2287962bae474ca786644de4ad6a11f57 References: <1485514072-29502-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Name is now in generic pm domain structure, so there is no need to duplicate it in private data. Signed-off-by: Marek Szyprowski --- drivers/soc/samsung/pm_domains.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c index c33196087e9f..00e32772655a 100644 --- a/drivers/soc/samsung/pm_domains.c +++ b/drivers/soc/samsung/pm_domains.c @@ -35,7 +35,6 @@ struct exynos_pm_domain_config { */ struct exynos_pm_domain { void __iomem *base; - char const *name; bool is_off; struct generic_pm_domain pd; struct clk *oscclk; @@ -70,7 +69,7 @@ static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on) pd->pclk[i] = clk_get_parent(pd->clk[i]); if (clk_set_parent(pd->clk[i], pd->oscclk)) pr_err("%s: error setting oscclk as parent to clock %d\n", - pd->name, i); + domain->name, i); } } @@ -101,7 +100,7 @@ static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on) continue; /* Skip on first power up */ if (clk_set_parent(pd->clk[i], pd->pclk[i])) pr_err("%s: error setting parent to clock%d\n", - pd->name, i); + domain->name, i); } } @@ -170,7 +169,6 @@ static __init int exynos4_pm_init_power_domain(void) return -ENOMEM; } - pd->name = pd->pd.name; pd->base = of_iomap(np, 0); if (!pd->base) { pr_warn("%s: failed to map memory\n", __func__);