OSDN Git Service

clk: at91: Remove CLK_IS_ROOT
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 1 Mar 2016 18:59:46 +0000 (10:59 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 3 Mar 2016 01:43:08 +0000 (17:43 -0800)
This flag is a no-op now. Remove usage of the flag.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/clk-main.c
drivers/clk/at91/clk-slow.c

index b85f435..b9bdfd8 100644 (file)
@@ -315,7 +315,7 @@ at91_clk_register_main_rc_osc(struct at91_pmc *pmc,
        init.ops = &main_rc_osc_ops;
        init.parent_names = NULL;
        init.num_parents = 0;
-       init.flags = CLK_IS_ROOT | CLK_IGNORE_UNUSED;
+       init.flags = CLK_IGNORE_UNUSED;
 
        osc->hw.init = &init;
        osc->pmc = pmc;
index 67b3047..402b45d 100644 (file)
@@ -251,7 +251,7 @@ at91_clk_register_slow_rc_osc(void __iomem *sckcr,
        init.ops = &slow_rc_osc_ops;
        init.parent_names = NULL;
        init.num_parents = 0;
-       init.flags = CLK_IS_ROOT | CLK_IGNORE_UNUSED;
+       init.flags = CLK_IGNORE_UNUSED;
 
        osc->hw.init = &init;
        osc->sckcr = sckcr;