summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2016-03-01 20:00:15 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-03-03 20:27:48 +0100
commit0d9967fe4ba6fc3a57d946a54bcba2d0b3ef8e0b (patch)
treecfb4d4038229931e68e91a122b0ce80efa036275 /drivers/clk
parentclk: x86: Remove clkdev.h and clk.h includes (diff)
downloadlinux-0d9967fe4ba6fc3a57d946a54bcba2d0b3ef8e0b.tar.xz
linux-0d9967fe4ba6fc3a57d946a54bcba2d0b3ef8e0b.zip
clk: mb86s7x: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag. Acked-by: Jassi Brar <jaswinder.singh@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-mb86s7x.c4
1 files 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);