linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@codeaurora.org>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	Robert Jarzmik <robert.jarzmik@free.fr>
Subject: [PATCH 11/41] clk: pxa: Remove CLK_IS_ROOT
Date: Tue,  1 Mar 2016 10:59:56 -0800	[thread overview]
Message-ID: <1456858826-28541-12-git-send-email-sboyd@codeaurora.org> (raw)
In-Reply-To: <1456858826-28541-1-git-send-email-sboyd@codeaurora.org>

This flag is a no-op now. Remove usage of the flag.

Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/clk/pxa/clk-pxa25x.c | 8 +++-----
 drivers/clk/pxa/clk-pxa27x.c | 6 +++---
 drivers/clk/pxa/clk-pxa3xx.c | 8 ++++----
 3 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/drivers/clk/pxa/clk-pxa25x.c b/drivers/clk/pxa/clk-pxa25x.c
index b7747229db9a..48b8b64fd28f 100644
--- a/drivers/clk/pxa/clk-pxa25x.c
+++ b/drivers/clk/pxa/clk-pxa25x.c
@@ -200,12 +200,10 @@ static void __init pxa25x_register_core(void)
 static void __init pxa25x_register_plls(void)
 {
 	clk_register_fixed_rate(NULL, "osc_3_6864mhz", NULL,
-				CLK_GET_RATE_NOCACHE | CLK_IS_ROOT,
-				3686400);
+				CLK_GET_RATE_NOCACHE, 3686400);
 	clk_register_fixed_rate(NULL, "osc_32_768khz", NULL,
-				CLK_GET_RATE_NOCACHE | CLK_IS_ROOT,
-				32768);
-	clk_register_fixed_rate(NULL, "clk_dummy", NULL, CLK_IS_ROOT, 0);
+				CLK_GET_RATE_NOCACHE, 32768);
+	clk_register_fixed_rate(NULL, "clk_dummy", NULL, 0, 0);
 	clk_register_fixed_factor(NULL, "ppll_95_85mhz", "osc_3_6864mhz",
 				  0, 26, 1);
 	clk_register_fixed_factor(NULL, "ppll_147_46mhz", "osc_3_6864mhz",
diff --git a/drivers/clk/pxa/clk-pxa27x.c b/drivers/clk/pxa/clk-pxa27x.c
index 5b82d30baf9f..e86cd5fa2eb4 100644
--- a/drivers/clk/pxa/clk-pxa27x.c
+++ b/drivers/clk/pxa/clk-pxa27x.c
@@ -208,12 +208,12 @@ MUX_RO_RATE_RO_OPS(clk_pxa27x_lcd_base, "lcd_base");
 static void __init pxa27x_register_plls(void)
 {
 	clk_register_fixed_rate(NULL, "osc_13mhz", NULL,
-				CLK_GET_RATE_NOCACHE | CLK_IS_ROOT,
+				CLK_GET_RATE_NOCACHE,
 				13 * MHz);
 	clk_register_fixed_rate(NULL, "osc_32_768khz", NULL,
-				CLK_GET_RATE_NOCACHE | CLK_IS_ROOT,
+				CLK_GET_RATE_NOCACHE,
 				32768 * KHz);
-	clk_register_fixed_rate(NULL, "clk_dummy", NULL, CLK_IS_ROOT, 0);
+	clk_register_fixed_rate(NULL, "clk_dummy", NULL, 0, 0);
 	clk_register_fixed_factor(NULL, "ppll_312mhz", "osc_13mhz", 0, 24, 1);
 }
 
diff --git a/drivers/clk/pxa/clk-pxa3xx.c b/drivers/clk/pxa/clk-pxa3xx.c
index 4af4eed5f89f..9238d5f5a7fd 100644
--- a/drivers/clk/pxa/clk-pxa3xx.c
+++ b/drivers/clk/pxa/clk-pxa3xx.c
@@ -284,15 +284,15 @@ static void __init pxa3xx_register_core(void)
 static void __init pxa3xx_register_plls(void)
 {
 	clk_register_fixed_rate(NULL, "osc_13mhz", NULL,
-				CLK_GET_RATE_NOCACHE | CLK_IS_ROOT,
+				CLK_GET_RATE_NOCACHE,
 				13 * MHz);
 	clk_register_fixed_rate(NULL, "osc_32_768khz", NULL,
-				CLK_GET_RATE_NOCACHE | CLK_IS_ROOT,
+				CLK_GET_RATE_NOCACHE,
 				32768);
 	clk_register_fixed_rate(NULL, "ring_osc_120mhz", NULL,
-				CLK_GET_RATE_NOCACHE | CLK_IS_ROOT,
+				CLK_GET_RATE_NOCACHE,
 				120 * MHz);
-	clk_register_fixed_rate(NULL, "clk_dummy", NULL, CLK_IS_ROOT, 0);
+	clk_register_fixed_rate(NULL, "clk_dummy", NULL, 0, 0);
 	clk_register_fixed_factor(NULL, "spll_624mhz", "osc_13mhz", 0, 48, 1);
 	clk_register_fixed_factor(NULL, "ring_osc_60mhz", "ring_osc_120mhz",
 				  0, 1, 2);
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

  parent reply	other threads:[~2016-03-01 19:14 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01 18:59 [PATCH 00/41] Remove CLK_IS_ROOT from drivers/clk Stephen Boyd
2016-03-01 18:59 ` [PATCH 01/41] clk: at91: Remove CLK_IS_ROOT Stephen Boyd
2016-03-01 22:15   ` Boris Brezillon
2016-03-01 18:59 ` [PATCH 02/41] clk: bcm: " Stephen Boyd
2016-03-02 21:59   ` Eric Anholt
2016-03-01 18:59 ` [PATCH 03/41] clk: hisilicon: " Stephen Boyd
2016-03-02  1:45   ` Leo Yan
2016-03-03  1:43   ` Stephen Boyd
2016-03-01 18:59 ` [PATCH 04/41] clk: imx: " Stephen Boyd
2016-03-02  2:42   ` Shawn Guo
2016-03-01 18:59 ` [PATCH 05/41] clk: mediatek: " Stephen Boyd
2016-03-02  1:58   ` James Liao
2016-03-03  1:44   ` Stephen Boyd
2016-03-01 18:59 ` [PATCH 06/41] clk: meson: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 18:59 ` [PATCH 07/41] clk: mmp: " Stephen Boyd
2016-03-01 18:59 ` [PATCH 08/41] clk: mvebu: " Stephen Boyd
2016-03-03 10:27   ` Gregory CLEMENT
2016-03-03 19:26   ` Stephen Boyd
2016-03-01 18:59 ` [PATCH 09/41] clk: mxs: " Stephen Boyd
2016-03-02  2:42   ` Shawn Guo
2016-03-03  1:45   ` Stephen Boyd
2016-03-01 18:59 ` [PATCH 10/41] clk: nxp: " Stephen Boyd
2016-03-01 20:06   ` Joachim Eastwood
2016-03-03  1:45   ` Stephen Boyd
2016-03-01 18:59 ` Stephen Boyd [this message]
2016-03-01 19:27   ` [PATCH 11/41] clk: pxa: " Robert Jarzmik
2016-03-03  1:46   ` Stephen Boyd
2016-03-01 18:59 ` [PATCH 12/41] clk: qcom: " Stephen Boyd
2016-03-04 20:53   ` Stephen Boyd
2016-03-01 18:59 ` [PATCH 13/41] clk: samsung: " Stephen Boyd
2016-03-02 10:26   ` Sylwester Nawrocki
2016-03-01 18:59 ` [PATCH 14/41] clk: sirf: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 15/41] clk: spear: " Stephen Boyd
2016-03-02  2:54   ` Viresh Kumar
2016-03-03  1:47   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 16/41] clk: sunxi: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 17/41] clk: tegra: " Stephen Boyd
2016-03-02 14:55   ` Thierry Reding
2016-03-02 16:50   ` Rhyland Klein
2016-03-03  1:47   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 18/41] clk: ti: " Stephen Boyd
2016-03-02 15:32   ` Tero Kristo
2016-03-03  1:47   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 19/41] clk: ux500: " Stephen Boyd
2016-03-01 20:05   ` Ulf Hansson
2016-03-03  1:48   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 20/41] clk: versatile: " Stephen Boyd
2016-03-05 16:49   ` Linus Walleij
2016-03-15 22:19   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 21/41] clk: x86: " Stephen Boyd
2016-03-03 10:34   ` Mika Westerberg
2016-03-01 19:00 ` [PATCH 22/41] clk: x86: Remove clkdev.h and clk.h includes Stephen Boyd
2016-03-03 10:35   ` Mika Westerberg
2016-03-01 19:00 ` [PATCH 23/41] clk: zte: Remove CLK_IS_ROOT Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 24/41] clk: zynq: " Stephen Boyd
2016-03-02  3:33   ` Sören Brinkmann
2016-03-03  1:48   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 25/41] clk: clps711x: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 26/41] clk: efm32gg: " Stephen Boyd
2016-03-01 19:26   ` Uwe Kleine-König
2016-03-01 19:37     ` Stephen Boyd
2016-03-01 19:52   ` Uwe Kleine-König
2016-03-03  1:48   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 27/41] clk: fixed-rate: " Stephen Boyd
2016-03-04 22:31   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 28/41] clk: ls1x: " Stephen Boyd
2016-03-01 19:00 ` [PATCH 29/41] clk: max77{686,802}: " Stephen Boyd
2016-03-07 13:46   ` Javier Martinez Canillas
2016-03-01 19:00 ` [PATCH 30/41] clk: mb86s7x: " Stephen Boyd
2016-03-03 11:42   ` Jassi Brar
2016-03-01 19:00 ` [PATCH 31/41] clk: nspire: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 32/41] clk: palmas: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 33/41] clk: pwm: " Stephen Boyd
2016-03-02  9:37   ` Philipp Zabel
2016-03-03  1:50   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 34/41] clk: qoriq: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 35/41] clk: rk808: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 36/41] clk: s2mps11: " Stephen Boyd
2016-03-02  2:25   ` Andi Shyti
2016-03-03  1:50   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 37/41] clk: scpi: " Stephen Boyd
2016-03-02  9:34   ` Sudeep Holla
2016-03-03  1:51   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 38/41] clk: si5{14,351,70}: " Stephen Boyd
2016-03-02  3:34   ` Sören Brinkmann
2016-03-01 19:00 ` [PATCH 39/41] clk: twl6040: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 40/41] clk: wm831x: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd
2016-03-01 19:00 ` [PATCH 41/41] clk: xgene: " Stephen Boyd
2016-04-15 23:54   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456858826-28541-12-git-send-email-sboyd@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=robert.jarzmik@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).