From patchwork Mon Jan 30 12:18:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 92845 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1409199qgi; Mon, 30 Jan 2017 04:30:33 -0800 (PST) X-Received: by 10.99.173.14 with SMTP id g14mr23773478pgf.176.1485779433165; Mon, 30 Jan 2017 04:30:33 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w31si12463843pla.66.2017.01.30.04.30.32; Mon, 30 Jan 2017 04:30:33 -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 S1752758AbdA3Mab (ORCPT + 4 others); Mon, 30 Jan 2017 07:30:31 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:42382 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523AbdA3Maa (ORCPT ); Mon, 30 Jan 2017 07:30:30 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKL006FME837L50@mailout4.w1.samsung.com>; Mon, 30 Jan 2017 12:19:15 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170130121914eucas1p214dc8c7450cb703adb77d410f18cf047~ei_fLiB_o1369913699eucas1p2j; Mon, 30 Jan 2017 12:19:14 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 8D.E5.09557.24F2F885; Mon, 30 Jan 2017 12:19:14 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170130121913eucas1p187c10b4ad4b3551c0100b492374f42bb~ei_ecAktz1710317103eucas1p1_; Mon, 30 Jan 2017 12:19:13 +0000 (GMT) X-AuditID: cbfec7f2-f790f6d000002555-1c-588f2f42643f Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 51.B3.10233.04F2F885; Mon, 30 Jan 2017 12:19:12 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKL00IHCE7WJ0B0@eusync3.samsung.com>; Mon, 30 Jan 2017 12:19:13 +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 v3 2/5] soc: samsung: pm_domains: Remove unused name field Date: Mon, 30 Jan 2017 13:18:57 +0100 Message-id: <1485778740-30337-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1485778740-30337-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsWy7djP87pO+v0RBsvOylpsnLGe1eL6l+es FpPuT2CxePN2DZPF+fMb2C0+9x5htJhxfh+Txdojd9ktDr9pZ3Xg9Ni0qpPNY0v/XXaPvi2r GD0+b5ILYInisklJzcksSy3St0vgytg9+zVbQTdPxb5NPewNjGc4uxg5OSQETCTWHTrGCGGL SVy4t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SvSdPsECYvMKeEg8vHmbHWKdnMTJY5PBhnIKeEp8Xb0MzBYCqvl09TzzBEbe BYwMqxhFUkuLc9Nzi430ihNzi0vz0vWS83M3MQIDe9uxn1t2MHa9Cz7EKMDBqMTDe0O4L0KI NbGsuDL3EKMEB7OSCO9J1f4IId6UxMqq1KL8+KLSnNTiQ4ymQEdNZJYSTc4HRl1eSbyhiaG5 paGRsYWFuZGRkjjv1A9XwoUE0hNLUrNTUwtSi2D6mDg4pRoYzdKPV3zPFvMQFfP++4797QYJ +YzfzyfnKi5fOCPyZcv3nxvfVFRVF1d6TuJ6YWOw5CwvB8e3G7Ln1th1H9gpbLRiw5uft0/O 4TXVTf/zvt7uiV/c4VOHLvWtkHvesluqerbTnuDAt5Okl/26kv990krXM4GlVxWjJu5lPZM/ U5LPRvU857EfEkosxRmJhlrMRcWJAMH4YTKCAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170130121913eucas1p187c10b4ad4b3551c0100b492374f42bb 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: 20170130121913eucas1p187c10b4ad4b3551c0100b492374f42bb X-RootMTR: 20170130121913eucas1p187c10b4ad4b3551c0100b492374f42bb References: <1485778740-30337-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__);