clk: fixed-rate: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
81925c5eaa
commit
d3781a74bc
|
@ -136,8 +136,7 @@ void of_fixed_clk_setup(struct device_node *node)
|
||||||
of_property_read_string(node, "clock-output-names", &clk_name);
|
of_property_read_string(node, "clock-output-names", &clk_name);
|
||||||
|
|
||||||
clk = clk_register_fixed_rate_with_accuracy(NULL, clk_name, NULL,
|
clk = clk_register_fixed_rate_with_accuracy(NULL, clk_name, NULL,
|
||||||
CLK_IS_ROOT, rate,
|
0, rate, accuracy);
|
||||||
accuracy);
|
|
||||||
if (!IS_ERR(clk))
|
if (!IS_ERR(clk))
|
||||||
of_clk_add_provider(node, of_clk_src_simple_get, clk);
|
of_clk_add_provider(node, of_clk_src_simple_get, clk);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue