]> git.baikalelectronics.ru Git - kernel.git/commit
dt: add of_get_child_count helper function
authorDong Aisheng <dong.aisheng@linaro.org>
Fri, 27 Apr 2012 03:36:20 +0000 (11:36 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 May 2012 23:14:40 +0000 (01:14 +0200)
commit1d8c428c29b05211b1e0654d4cb69c7e7213862d
treeac3cd2f9a264f7f5c5ad15ec56eda8e27cc18573
parent1d1629ac9d35f0d18872acd0540ff9e10edb5117
dt: add of_get_child_count helper function

Currently most code to get child count in kernel are almost same,
add a helper to implement this function for dt to use.

Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/of.h