Commit 3d08f156 authored by Stephen Boyd's avatar Stephen Boyd

clk: mediatek: Remove CLK_IS_ROOT

This flag is a no-op now. Remove usage of the flag.
Acked-by: default avatarJames Liao <jamesjj.liao@mediatek.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent f61990f3
...@@ -58,8 +58,8 @@ void __init mtk_clk_register_fixed_clks(const struct mtk_fixed_clk *clks, ...@@ -58,8 +58,8 @@ void __init mtk_clk_register_fixed_clks(const struct mtk_fixed_clk *clks,
for (i = 0; i < num; i++) { for (i = 0; i < num; i++) {
const struct mtk_fixed_clk *rc = &clks[i]; const struct mtk_fixed_clk *rc = &clks[i];
clk = clk_register_fixed_rate(NULL, rc->name, rc->parent, clk = clk_register_fixed_rate(NULL, rc->name, rc->parent, 0,
rc->parent ? 0 : CLK_IS_ROOT, rc->rate); rc->rate);
if (IS_ERR(clk)) { if (IS_ERR(clk)) {
pr_err("Failed to register clk %s: %ld\n", pr_err("Failed to register clk %s: %ld\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment