]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: h8300: 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:43:21 +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.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: <uclinux-h8-devel@lists.sourceforge.jp>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/h8300/clk-h8s2678.c

index b68045d8b921cb18f8b3d2e69a9f65bd790f9a0b..c7ae653c8a16035ba173addeb38b0a1af6f3b848 100644 (file)
@@ -117,7 +117,7 @@ static void __init h8s2678_pll_clk_setup(struct device_node *node)
        parent_name = of_clk_get_parent_name(node, 0);
        init.name = clk_name;
        init.ops = &pll_ops;
-       init.flags = CLK_IS_BASIC;
+       init.flags = 0;
        init.parent_names = &parent_name;
        init.num_parents = 1;
        pll_clock->hw.init = &init;