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: 92599 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp142531obz; Fri, 27 Jan 2017 02:50:18 -0800 (PST) X-Received: by 10.84.195.1 with SMTP id i1mr11331351pld.77.1485514218231; Fri, 27 Jan 2017 02:50:18 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z23si4119696pll.24.2017.01.27.02.50.18; Fri, 27 Jan 2017 02:50:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932742AbdA0Ktz (ORCPT + 4 others); 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 VyK2amtp02hY2ir0YjhdSyzQTDaZWbEpCiLid6aUUrmCJLLcjt79nvf5P///874vjUkDeDxd VFzKG4o1Whkpwbv968G0KykW1cHOJzLuhb2T4MZ/LhGcbaYe51ZW20VcMOimuJB1AHH2YJ+I cw1MUZxv5RZx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AJrZhFQlWi6eBismVfAQ+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?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= 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 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(-) -- 1.9.1 -- 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 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__);