diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-01 11:00:02 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-02 17:47:19 -0800 |
commit | f6da46a3074722feb9b4069cf032b924c7251860 (patch) | |
tree | a2c57ec8c4aabccf3aeaa6f5a3229f4421272d99 /drivers/clk/tegra/clk-tegra-fixed.c | |
parent | afb4bdc9d8987eb570ef0e9e608459d9fc016de5 (diff) | |
download | blackbird-obmc-linux-f6da46a3074722feb9b4069cf032b924c7251860.tar.gz blackbird-obmc-linux-f6da46a3074722feb9b4069cf032b924c7251860.zip |
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.c | 6 |
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 da0b5941c89f..d64ec7a1b976 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; } |