summaryrefslogtreecommitdiffstats
path: root/drivers/clk/hisilicon/clk-hix5hd2.c
diff options
context:
space:
mode:
authorStephen Boyd2018-11-30 20:07:30 +0100
committerStephen Boyd2018-12-10 23:43:21 +0100
commit5a727ff63032dc6cde780f960c6e3f22f8bf2783 (patch)
tree7db25f4b7d4f88e026acf6ddb6ce4cc1b980fd55 /drivers/clk/hisilicon/clk-hix5hd2.c
parentclk: h8300: Remove usage of CLK_IS_BASIC (diff)
downloadkernel-qcow2-linux-5a727ff63032dc6cde780f960c6e3f22f8bf2783.tar.gz
kernel-qcow2-linux-5a727ff63032dc6cde780f960c6e3f22f8bf2783.tar.xz
kernel-qcow2-linux-5a727ff63032dc6cde780f960c6e3f22f8bf2783.zip
clk: hisilicon: Remove usage of CLK_IS_BASIC
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: Jiancheng Xue <xuejiancheng@hisilicon.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Jianguo Sun <sunjianguo1@huawei.com> Cc: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/hisilicon/clk-hix5hd2.c')
-rw-r--r--drivers/clk/hisilicon/clk-hix5hd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clk-hix5hd2.c b/drivers/clk/hisilicon/clk-hix5hd2.c
index 9584f0c32dda..659bd5f493b8 100644
--- a/drivers/clk/hisilicon/clk-hix5hd2.c
+++ b/drivers/clk/hisilicon/clk-hix5hd2.c
@@ -274,7 +274,7 @@ hix5hd2_clk_register_complex(struct hix5hd2_complex_clock *clks, int nums,
else
init.ops = &clk_complex_ops;
- init.flags = CLK_IS_BASIC;
+ init.flags = 0;
init.parent_names =
(clks[i].parent_name ? &clks[i].parent_name : NULL);
init.num_parents = (clks[i].parent_name ? 1 : 0);