diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-01 14:00:16 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-04-15 19:50:12 -0400 |
commit | 1efee90d275fe7b22ae0320adb6c9bb49937a9d8 (patch) | |
tree | 83813b9ea263f496dd95df0488b4b1a43f82242b /drivers/clk | |
parent | 3be32b79a1c3b99d5f0d266eaa2e727a672f62db (diff) |
clk: nspire: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag.
Cc: Daniel Tang <dt.tangr@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-nspire.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk-nspire.c b/drivers/clk/clk-nspire.c index a378db7b2382..64f196a90816 100644 --- a/drivers/clk/clk-nspire.c +++ b/drivers/clk/clk-nspire.c | |||
@@ -125,8 +125,7 @@ static void __init nspire_clk_setup(struct device_node *node, | |||
125 | 125 | ||
126 | of_property_read_string(node, "clock-output-names", &clk_name); | 126 | of_property_read_string(node, "clock-output-names", &clk_name); |
127 | 127 | ||
128 | clk = clk_register_fixed_rate(NULL, clk_name, NULL, CLK_IS_ROOT, | 128 | clk = clk_register_fixed_rate(NULL, clk_name, NULL, 0, info.base_clock); |
129 | info.base_clock); | ||
130 | if (!IS_ERR(clk)) | 129 | if (!IS_ERR(clk)) |
131 | of_clk_add_provider(node, of_clk_src_simple_get, clk); | 130 | of_clk_add_provider(node, of_clk_src_simple_get, clk); |
132 | else | 131 | else |