OSDN Git Service

clk: ti: Update for of_clk_get_parent_count() returning unsigned int
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 20 Feb 2016 01:49:23 +0000 (17:49 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 27 Feb 2016 00:01:32 +0000 (16:01 -0800)
commit921bacfa34d48c019bb068257c0947d728662bf3
tree834bcfc833f2819d7b4103536086c2f90569bcd7
parent36bf2811416c7ac79260e0a3b1bb0648559e443b
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>
drivers/clk/ti/clockdomain.c
drivers/clk/ti/composite.c
drivers/clk/ti/dpll.c
drivers/clk/ti/mux.c