summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2016-03-01 20:00:16 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-04-16 01:50:12 +0200
commit1efee90d275fe7b22ae0320adb6c9bb49937a9d8 (patch)
tree83813b9ea263f496dd95df0488b4b1a43f82242b
parentclk: ls1x: Remove CLK_IS_ROOT (diff)
downloadlinux-1efee90d275fe7b22ae0320adb6c9bb49937a9d8.tar.xz
linux-1efee90d275fe7b22ae0320adb6c9bb49937a9d8.zip
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>
-rw-r--r--drivers/clk/clk-nspire.c3
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,
of_property_read_string(node, "clock-output-names", &clk_name);
- clk = clk_register_fixed_rate(NULL, clk_name, NULL, CLK_IS_ROOT,
- info.base_clock);
+ clk = clk_register_fixed_rate(NULL, clk_name, NULL, 0, info.base_clock);
if (!IS_ERR(clk))
of_clk_add_provider(node, of_clk_src_simple_get, clk);
else