clk: sirf: Remove CLK_IS_ROOT
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 1 Mar 2016 18:59:59 +0000 (10:59 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 15 Apr 2016 23:50:04 +0000 (16:50 -0700)
This flag is a no-op now. Remove usage of the flag.

Cc: Guo Zeng <Guo.Zeng@csr.com>
Cc: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sirf/clk-atlas6.c
drivers/clk/sirf/clk-prima2.c

index c5eaa9d1624760f6db1347cdbeaf44c7b97a2049..665fa681b2e1e9a2ccb2f2f857d76e98c3e3da64 100644 (file)
@@ -130,10 +130,9 @@ static void __init atlas6_clk_init(struct device_node *np)
                panic("unable to map clkc registers\n");
 
        /* These are always available (RTC and 26MHz OSC)*/
-       atlas6_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL,
-               CLK_IS_ROOT, 32768);
-       atlas6_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL,
-               CLK_IS_ROOT, 26000000);
+       atlas6_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL, 0, 32768);
+       atlas6_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, 0,
+                                                  26000000);
 
        for (i = pll1; i < maxclk; i++) {
                atlas6_clks[i] = clk_register(NULL, atlas6_clk_hw_array[i]);
index f92c40264342574af6fbf2af02de0e3db4236602..aac1c8ec151a9aff5a962e447aeb46bf680f269b 100644 (file)
@@ -129,10 +129,9 @@ static void __init prima2_clk_init(struct device_node *np)
                panic("unable to map clkc registers\n");
 
        /* These are always available (RTC and 26MHz OSC)*/
-       prima2_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL,
-               CLK_IS_ROOT, 32768);
-       prima2_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL,
-               CLK_IS_ROOT, 26000000);
+       prima2_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL, 0, 32768);
+       prima2_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, 0,
+                                                  26000000);
 
        for (i = pll1; i < maxclk; i++) {
                prima2_clks[i] = clk_register(NULL, prima2_clk_hw_array[i]);