summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2016-03-01 20:00:12 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-03-04 23:31:17 +0100
commitd3781a74bcc98c9c833d181676975075a50eb946 (patch)
treef2b6d3e7e89fc21e0359666ff0501ca1f4d6eae0 /drivers/clk
parentclk: qcom: Remove CLK_IS_ROOT (diff)
downloadlinux-d3781a74bcc98c9c833d181676975075a50eb946.tar.xz
linux-d3781a74bcc98c9c833d181676975075a50eb946.zip
clk: fixed-rate: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-fixed-rate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c
index 6858bfc548a9..cd9dc925b3f8 100644
--- a/drivers/clk/clk-fixed-rate.c
+++ b/drivers/clk/clk-fixed-rate.c
@@ -136,8 +136,7 @@ void of_fixed_clk_setup(struct device_node *node)
of_property_read_string(node, "clock-output-names", &clk_name);
clk = clk_register_fixed_rate_with_accuracy(NULL, clk_name, NULL,
- CLK_IS_ROOT, rate,
- accuracy);
+ 0, rate, accuracy);
if (!IS_ERR(clk))
of_clk_add_provider(node, of_clk_src_simple_get, clk);
}