clk: st: Remove usage of CLK_IS_BASIC
authorStephen Boyd <sboyd@kernel.org>
Thu, 6 Dec 2018 18:38:31 +0000 (10:38 -0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 10 Dec 2018 22:43:20 +0000 (14:43 -0800)
This flag doesn't look to be used by any code, just set in various clk
init structures and then never tested again. Remove it from these
drivers as it doesn't provide any benefit.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/st/clk-flexgen.c
drivers/clk/st/clkgen-fsyn.c
drivers/clk/st/clkgen-pll.c

index 918ba31..ca8d535 100644 (file)
@@ -210,7 +210,7 @@ static struct clk *clk_register_flexgen(const char *name,
 
        init.name = name;
        init.ops = &flexgen_ops;
-       init.flags = CLK_IS_BASIC | CLK_GET_RATE_NOCACHE | flexgen_flags;
+       init.flags = CLK_GET_RATE_NOCACHE | flexgen_flags;
        init.parent_names = parent_names;
        init.num_parents = num_parents;
 
index cfa0000..946ceb1 100644 (file)
@@ -404,7 +404,7 @@ static struct clk * __init st_clk_register_quadfs_pll(
 
        init.name = name;
        init.ops = quadfs->pll_ops;
-       init.flags = CLK_IS_BASIC | CLK_GET_RATE_NOCACHE;
+       init.flags = CLK_GET_RATE_NOCACHE;
        init.parent_names = &parent_name;
        init.num_parents = 1;
 
@@ -843,7 +843,7 @@ static struct clk * __init st_clk_register_quadfs_fsynth(
 
        init.name = name;
        init.ops = &st_quadfs_ops;
-       init.flags = flags | CLK_GET_RATE_NOCACHE | CLK_IS_BASIC;
+       init.flags = flags | CLK_GET_RATE_NOCACHE;
        init.parent_names = &parent_name;
        init.num_parents = 1;
 
index 7a7106d..6930348 100644 (file)
@@ -613,7 +613,7 @@ static struct clk * __init clkgen_pll_register(const char *parent_name,
        init.name = clk_name;
        init.ops = pll_data->ops;
 
-       init.flags = pll_flags | CLK_IS_BASIC | CLK_GET_RATE_NOCACHE;
+       init.flags = pll_flags | CLK_GET_RATE_NOCACHE;
        init.parent_names = &parent_name;
        init.num_parents  = 1;