From patchwork Tue Oct 3 10:00:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 114678 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1682831qgn; Tue, 3 Oct 2017 03:00:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDvIb4F/X27t7YtpobdrgrYgurkjcQbZBUG5FJyy40cmO4PLKzqD8ZFvsl5AqDp5P59GCm3 X-Received: by 10.84.233.3 with SMTP id j3mr5781938plk.14.1507024838059; Tue, 03 Oct 2017 03:00:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507024838; cv=none; d=google.com; s=arc-20160816; b=H5b2+rntW2+Y0xnLuARvUUuI5855yIDqvZPTrwNSrKqf3Dop8WYu43xgYKhxA0Y3Uj sJpaD2ExLN7OjEyfLorspOZr8Kx5wZWcjiUiXRWjr94fOsGxm/9Y6q3xC1MP+qq9vksB cjhPa9XVlLveSz6yEk5seVpUpmd/9+QgCUvb5yrdJAEIGEeMYvjGfSdTxC36941FQgvk RZsl1+p1n/4/GQokxzDsACGmMN2XEqFPInIGM8TkOiSSp6rbt+pjTSzBZrFRWJAlWsfF kKLk/hnuMyNuv0Uh2VYzvpzgRa/GeW4hUGdwVOgdtD9A9yWrNBURXq0NUkdmTlrXEEog vvBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=YCcOSoDCOFxgt4Ng5VEhNg76tEu1QNskvjMoeyguEU4=; b=W71i3pehYr1P/eQR/VD4+XESiSvI/bEzKCulNziCXYXqq2l19bvaGCMTfNDaxnwwFY 5qCDp/cUU9NqgmEWe10JM8lIi7vI8itqiuWpwtQOwuBszGpe82CsmBt0xaurUDujfINE VeA6f8+Po5mdrNAURxuAPClzG7YouUuLd2pXFAGBK7jaDlFeE9TeF5FWFfioiREYl93X 7wX79qnKxZ+CUCiA2I7SD3IWTGlsgK9KZmcGTsIfgn7+y7j8CLgPlb4pL/UYdUCZ1owC g+uGAYyJ0io2TJ+kNVWPXG2uGt4WvF8IVSqMm1hafXkhs4QnPU9QDJV75qg6W19FrENW tfZg== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si10187028pls.298.2017.10.03.03.00.37; Tue, 03 Oct 2017 03:00:38 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751613AbdJCKAg (ORCPT + 4 others); Tue, 3 Oct 2017 06:00:36 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:44528 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469AbdJCKAe (ORCPT ); Tue, 3 Oct 2017 06:00:34 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171003100031euoutp02ea59e4de4d687fc87c33ef88e7cd55b8~qBxmYQuF10748507485euoutp02L; Tue, 3 Oct 2017 10:00:31 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171003100031eucas1p1a6251ab31ec7e74b10d450fdc7fd9fdf~qBxltLXWi3224932249eucas1p1R; Tue, 3 Oct 2017 10:00:31 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 07.DB.12867.EBF53D95; Tue, 3 Oct 2017 11:00:30 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171003100030eucas1p1a20ef57eada2009d1c83804b475fd1b6~qBxk3NR_N3228332283eucas1p1O; Tue, 3 Oct 2017 10:00:30 +0000 (GMT) X-AuditID: cbfec7f2-f793b6d000003243-bc-59d35fbe41e1 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id BE.54.20118.DBF53D95; Tue, 3 Oct 2017 11:00:29 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OX8005VZRSOD560@eusync2.samsung.com>; Tue, 03 Oct 2017 11:00:29 +0100 (BST) From: Marek Szyprowski To: linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 3/9] clk: samsung: Remove double assignment to CLK_ARM_CLK id in Exynos4 driver Date: Tue, 03 Oct 2017 12:00:10 +0200 Message-id: <20171003100016.32029-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20171003100016.32029-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsWy7djPc7r74i9HGhy5b2yxccZ6VovrX56z Wpw/v4Hd4mPPPVaLGef3MVmsPXKX3eLwm3ZWB3aPTas62Tz6tq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d xGYRUJVYc+8cWAOvgK1E88O37BDr5CXeL7jPCGJzCthJLP64nBXEFgKqaZy/inkCI+8CRoZV jCKppcW56bnFRnrFibnFpXnpesn5uZsYgSG07djPLTsYu94FH2IU4GBU4uHd4XEpUog1say4 MvcQowQHs5II7zSvy5FCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeXv3rI4UEkhPLEnNTk0tSC2C yTJxcEo1MIo7e65t2rdrXk/RZ2OnOQ/W5rpMs1rtfuiekcaubK6KQMPI4wnhvHv0TyZ6tJ1c 9eUlO99unWeCwZkx88JPX5Ga/cTd2jzNTZn/fWm/68yrGjpr1ZbnN0x/4TK7eZON84tbaknR htbTzjlP36F6pMnii6dN1h/3aa9bV5tyBGzf0bIsa+KDDiWW4oxEQy3mouJEAHoioEEdAgAA X-CMS-MailID: 20171003100030eucas1p1a20ef57eada2009d1c83804b475fd1b6 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-CMS-RootMailID: 20171003100030eucas1p1a20ef57eada2009d1c83804b475fd1b6 X-RootMTR: 20171003100030eucas1p1a20ef57eada2009d1c83804b475fd1b6 References: <20171003100016.32029-1-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 CLK_ARM_CLK ("armclk") clock is provided by cpu-clk subdriver, which is instantiated after creating all divider clocks from exynos4_div_clks array. There is no point assigning this id to "div_core2" clock and later overwrite with proper "armcpu" clock by cpu-clk subdriver. Signed-off-by: Marek Szyprowski --- drivers/clk/samsung/clk-exynos4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2 -- 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 Acked-by: Chanwoo Choi diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index 3fbfd9ed82b7..3bd2d84b2a17 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -721,7 +721,7 @@ static const struct samsung_div_clock exynos4_div_clks[] __initconst = { DIV(0, "div_periph", "div_core2", DIV_CPU0, 12, 3), DIV(0, "div_atb", "mout_core", DIV_CPU0, 16, 3), DIV(0, "div_pclk_dbg", "div_atb", DIV_CPU0, 20, 3), - DIV(CLK_ARM_CLK, "div_core2", "div_core", DIV_CPU0, 28, 3), + DIV(0, "div_core2", "div_core", DIV_CPU0, 28, 3), DIV(0, "div_copy", "mout_hpm", DIV_CPU1, 0, 3), DIV(0, "div_hpm", "div_copy", DIV_CPU1, 4, 3), DIV(0, "div_clkout_cpu", "mout_clkout_cpu", CLKOUT_CMU_CPU, 8, 6),