From: Stephen Boyd Date: Tue, 1 Mar 2016 18:59:50 +0000 (-0800) Subject: clk: mediatek: Remove CLK_IS_ROOT X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3d08f1564b169114b6f3d8ee6586acf8e4e54db5;p=linux-beck.git clk: mediatek: Remove CLK_IS_ROOT This flag is a no-op now. Remove usage of the flag. Acked-by: James Liao Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c index 352830369e0e..5ada644e6200 100644 --- a/drivers/clk/mediatek/clk-mtk.c +++ b/drivers/clk/mediatek/clk-mtk.c @@ -58,8 +58,8 @@ void __init mtk_clk_register_fixed_clks(const struct mtk_fixed_clk *clks, for (i = 0; i < num; i++) { const struct mtk_fixed_clk *rc = &clks[i]; - clk = clk_register_fixed_rate(NULL, rc->name, rc->parent, - rc->parent ? 0 : CLK_IS_ROOT, rc->rate); + clk = clk_register_fixed_rate(NULL, rc->name, rc->parent, 0, + rc->rate); if (IS_ERR(clk)) { pr_err("Failed to register clk %s: %ld\n",