summaryrefslogtreecommitdiff
path: root/drivers/clk/tegra/clk-tegra-fixed.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2016-03-01 19:00:02 (GMT)
committerStephen Boyd <sboyd@codeaurora.org>2016-03-03 01:47:19 (GMT)
commitf6da46a3074722feb9b4069cf032b924c7251860 (patch)
treea2c57ec8c4aabccf3aeaa6f5a3229f4421272d99 /drivers/clk/tegra/clk-tegra-fixed.c
parentafb4bdc9d8987eb570ef0e9e608459d9fc016de5 (diff)
downloadlinux-f6da46a3074722feb9b4069cf032b924c7251860.tar.xz
clk: tegra: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag. Acked-by: Rhyland Klein <rklein@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra-fixed.c')
-rw-r--r--drivers/clk/tegra/clk-tegra-fixed.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/clk/tegra/clk-tegra-fixed.c b/drivers/clk/tegra/clk-tegra-fixed.c
index da0b594..d64ec7a 100644
--- a/drivers/clk/tegra/clk-tegra-fixed.c
+++ b/drivers/clk/tegra/clk-tegra-fixed.c
@@ -52,8 +52,7 @@ int __init tegra_osc_clk_init(void __iomem *clk_base, struct tegra_clk *clks,
return -EINVAL;
}
- osc = clk_register_fixed_rate(NULL, "osc", NULL, CLK_IS_ROOT,
- *osc_freq);
+ osc = clk_register_fixed_rate(NULL, "osc", NULL, 0, *osc_freq);
dt_clk = tegra_lookup_dt_id(tegra_clk_clk_m, clks);
if (!dt_clk)
@@ -88,8 +87,7 @@ void __init tegra_fixed_clk_init(struct tegra_clk *tegra_clks)
/* clk_32k */
dt_clk = tegra_lookup_dt_id(tegra_clk_clk_32k, tegra_clks);
if (dt_clk) {
- clk = clk_register_fixed_rate(NULL, "clk_32k", NULL,
- CLK_IS_ROOT, 32768);
+ clk = clk_register_fixed_rate(NULL, "clk_32k", NULL, 0, 32768);
*dt_clk = clk;
}