diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-02-19 17:49:23 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-02-26 16:01:32 -0800 |
commit | 921bacfa34d48c019bb068257c0947d728662bf3 (patch) | |
tree | 834bcfc833f2819d7b4103536086c2f90569bcd7 /drivers/clk/ti/clockdomain.c | |
parent | 36bf2811416c7ac79260e0a3b1bb0648559e443b (diff) | |
download | blackbird-op-linux-921bacfa34d48c019bb068257c0947d728662bf3.tar.gz blackbird-op-linux-921bacfa34d48c019bb068257c0947d728662bf3.zip |
clk: ti: Update for of_clk_get_parent_count() returning unsigned int
Change the types here to unsigned int instead of int and update
the checks for == 0 instead < 1 to be more explicit about what's
going on now that of_clk_get_parent_count() has changed return
types.
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/ti/clockdomain.c')
-rw-r--r-- | drivers/clk/ti/clockdomain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/clockdomain.c b/drivers/clk/ti/clockdomain.c index b9bc3b8df659..6cf9dd189a92 100644 --- a/drivers/clk/ti/clockdomain.c +++ b/drivers/clk/ti/clockdomain.c @@ -109,7 +109,7 @@ static void __init of_ti_clockdomain_setup(struct device_node *node) struct clk_hw *clk_hw; const char *clkdm_name = node->name; int i; - int num_clks; + unsigned int num_clks; num_clks = of_clk_get_parent_count(node); |