Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1346910

[PATCH 30/41] clk: mb86s7x: Remove CLK_IS_ROOT

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject [PATCH 30/41] clk: mb86s7x: Remove CLK_IS_ROOT
Date 2016-03-01 20:10 +0100
Message-ID <r7XQf-4Tj-53@gated-at.bofh.it> (permalink)
References <r7XQd-4Tj-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Cc: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/clk/clk-mb86s7x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/clk-mb86s7x.c b/drivers/clk/clk-mb86s7x.c
index f39c25a22f43..e0817754ca3e 100644
--- a/drivers/clk/clk-mb86s7x.c
+++ b/drivers/clk/clk-mb86s7x.c
@@ -217,7 +217,7 @@ static struct clk *crg11_get(struct of_phandle_args *clkspec, void *data)
 	init.name = clkp;
 	init.num_parents = 0;
 	init.ops = &crg_port_ops;
-	init.flags = CLK_IS_ROOT;
+	init.flags = 0;
 	crgclk->hw.init = &init;
 	crgclk->cntrlr = cntrlr;
 	crgclk->domain = domain;
@@ -341,7 +341,7 @@ struct clk *mb86s7x_clclk_register(struct device *cpu_dev)
 
 	init.name = dev_name(cpu_dev);
 	init.ops = &clk_clc_ops;
-	init.flags = CLK_IS_ROOT | CLK_GET_RATE_NOCACHE;
+	init.flags = CLK_GET_RATE_NOCACHE;
 	init.num_parents = 0;
 
 	return devm_clk_register(cpu_dev, &clc->hw);
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 30/41] clk: mb86s7x: Remove CLK_IS_ROOT Stephen Boyd <sboyd@codeaurora.org> - 2016-03-01 20:10 +0100
  Re: [PATCH 30/41] clk: mb86s7x: Remove CLK_IS_ROOT Jassi Brar <jaswinder.singh@linaro.org> - 2016-03-03 12:50 +0100

csiph-web