Browse Source

clk: sunxi: Remove CLK_IS_ROOT

This flag is a no-op now. Remove usage of the flag.

Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Stephen Boyd 9 năm trước cách đây
mục cha
commit
260c37f92a
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      drivers/clk/sunxi/clk-a10-hosc.c

+ 1 - 2
drivers/clk/sunxi/clk-a10-hosc.c

@@ -54,8 +54,7 @@ static void __init sun4i_osc_clk_setup(struct device_node *node)
 			NULL, 0,
 			NULL, NULL,
 			&fixed->hw, &clk_fixed_rate_ops,
-			&gate->hw, &clk_gate_ops,
-			CLK_IS_ROOT);
+			&gate->hw, &clk_gate_ops, 0);
 
 	if (IS_ERR(clk))
 		goto err_free_gate;