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>
This commit is contained in:
parent
4106684e11
commit
0d9967fe4b
|
@ -217,7 +217,7 @@ static struct clk *crg11_get(struct of_phandle_args *clkspec, void *data)
|
||||||
init.name = clkp;
|
init.name = clkp;
|
||||||
init.num_parents = 0;
|
init.num_parents = 0;
|
||||||
init.ops = &crg_port_ops;
|
init.ops = &crg_port_ops;
|
||||||
init.flags = CLK_IS_ROOT;
|
init.flags = 0;
|
||||||
crgclk->hw.init = &init;
|
crgclk->hw.init = &init;
|
||||||
crgclk->cntrlr = cntrlr;
|
crgclk->cntrlr = cntrlr;
|
||||||
crgclk->domain = domain;
|
crgclk->domain = domain;
|
||||||
|
@ -341,7 +341,7 @@ struct clk *mb86s7x_clclk_register(struct device *cpu_dev)
|
||||||
|
|
||||||
init.name = dev_name(cpu_dev);
|
init.name = dev_name(cpu_dev);
|
||||||
init.ops = &clk_clc_ops;
|
init.ops = &clk_clc_ops;
|
||||||
init.flags = CLK_IS_ROOT | CLK_GET_RATE_NOCACHE;
|
init.flags = CLK_GET_RATE_NOCACHE;
|
||||||
init.num_parents = 0;
|
init.num_parents = 0;
|
||||||
|
|
||||||
return devm_clk_register(cpu_dev, &clc->hw);
|
return devm_clk_register(cpu_dev, &clc->hw);
|
||||||
|
|
Loading…
Reference in New Issue