Skip to content

Commit

Permalink
clk: nspire: Remove CLK_IS_ROOT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Boyd committed Apr 15, 2016
1 parent 3be32b7 commit 1efee90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/clk/clk-nspire.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1efee90

Please sign in to comment.