OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61990f
)
clk: mediatek: Remove CLK_IS_ROOT
author
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 1 Mar 2016 18:59:50 +0000
(10:59 -0800)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Thu, 3 Mar 2016 01:44:06 +0000
(17:44 -0800)
This flag is a no-op now. Remove usage of the flag.
Acked-by: James Liao <jamesjj.liao@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mediatek/clk-mtk.c
patch
|
blob
|
history
diff --git
a/drivers/clk/mediatek/clk-mtk.c
b/drivers/clk/mediatek/clk-mtk.c
index
3528303
..
5ada644
100644
(file)
--- a/
drivers/clk/mediatek/clk-mtk.c
+++ b/
drivers/clk/mediatek/clk-mtk.c
@@
-58,8
+58,8
@@
void __init mtk_clk_register_fixed_clks(const struct mtk_fixed_clk *clks,
for (i = 0; i < num; i++) {
const struct mtk_fixed_clk *rc = &clks[i];
- clk = clk_register_fixed_rate(NULL, rc->name, rc->parent,
-
rc->parent ? 0 : CLK_IS_ROOT,
rc->rate);
+ clk = clk_register_fixed_rate(NULL, rc->name, rc->parent,
0,
+
rc->rate);
if (IS_ERR(clk)) {
pr_err("Failed to register clk %s: %ld\n",