summaryrefslogtreecommitdiffstats
path: root/drivers/clk/versatile
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2018-11-30 20:07:30 +0100
committerStephen Boyd <sboyd@kernel.org>2018-12-10 23:44:05 +0100
commit354e12100665a30537bc816aa1a1607436948677 (patch)
treef1ecd8c5a1fa65b8e019c8472588f36c10aef7a5 /drivers/clk/versatile
parentclk: hisilicon: Remove usage of CLK_IS_BASIC (diff)
downloadlinux-354e12100665a30537bc816aa1a1607436948677.tar.xz
linux-354e12100665a30537bc816aa1a1607436948677.zip
clk: versatile: sp810: Remove usage of CLK_IS_BASIC
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>
Diffstat (limited to 'drivers/clk/versatile')
-rw-r--r--drivers/clk/versatile/clk-sp810.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/versatile/clk-sp810.c b/drivers/clk/versatile/clk-sp810.c
index 1fe1e8d970cf..c2b6bb814742 100644
--- a/drivers/clk/versatile/clk-sp810.c
+++ b/drivers/clk/versatile/clk-sp810.c
@@ -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;