]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: of: helper for determining number of parent clocks
authorMike Turquette <mturquette@linaro.org>
Tue, 8 Oct 2013 06:12:13 +0000 (23:12 -0700)
committerMike Turquette <mturquette@linaro.org>
Tue, 8 Oct 2013 06:13:33 +0000 (23:13 -0700)
commitf61027426a5bc7093aa8359a411b053a35bb4b68
tree225758cc8fe637500ff2a9160550aabcc0ddb4ef
parentf8fe36f6083a70270a7305f7740b124ff1e8aea7
clk: of: helper for determining number of parent clocks

Walks the "clocks" array of parent clock phandles and returns the
number.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c
include/linux/clk-provider.h