clk: versatile: sp810: Remove usage of CLK_IS_BASIC
authorStephen Boyd <sboyd@kernel.org>
Fri, 30 Nov 2018 19:07:30 +0000 (11:07 -0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 10 Dec 2018 22:44:05 +0000 (14:44 -0800)
This flag doesn't look to be used by any code, just set in the clk init
structure and then never tested again. Remove it from this driver as it
doesn't provide any benefit.

Cc: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/versatile/clk-sp810.c

index 1fe1e8d970cf3e757592872fb6f1eb53592ba4c9..c2b6bb814742e4dceb98f9dcacfa8bfad36f931c 100644 (file)
@@ -111,7 +111,7 @@ static void __init clk_sp810_of_setup(struct device_node *node)
 
        init.name = name;
        init.ops = &clk_sp810_timerclken_ops;
-       init.flags = CLK_IS_BASIC;
+       init.flags = 0;
        init.parent_names = parent_names;
        init.num_parents = num;