diff options
author | Stephen Boyd <sboyd@kernel.org> | 2018-11-30 22:07:30 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-12-11 01:43:21 +0300 |
commit | 5a727ff63032dc6cde780f960c6e3f22f8bf2783 (patch) | |
tree | 7db25f4b7d4f88e026acf6ddb6ce4cc1b980fd55 /drivers/clk/hisilicon/clk-hisi-phase.c | |
parent | c0156e5509e41453adff9b70dc32b92a10b3f185 (diff) | |
download | linux-5a727ff63032dc6cde780f960c6e3f22f8bf2783.tar.xz |
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-hisi-phase.c')
-rw-r--r-- | drivers/clk/hisilicon/clk-hisi-phase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clk-hisi-phase.c b/drivers/clk/hisilicon/clk-hisi-phase.c index 5bce9297b78b..5fdc267bb2da 100644 --- a/drivers/clk/hisilicon/clk-hisi-phase.c +++ b/drivers/clk/hisilicon/clk-hisi-phase.c @@ -103,7 +103,7 @@ struct clk *clk_register_hisi_phase(struct device *dev, init.name = clks->name; init.ops = &clk_phase_ops; - init.flags = clks->flags | CLK_IS_BASIC; + init.flags = clks->flags; init.parent_names = clks->parent_names ? &clks->parent_names : NULL; init.num_parents = clks->parent_names ? 1 : 0; |