]> 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)
commitf1eb03770446afabd6ea10dd68ccdf6ea86ba005
treeac3cd2f9a264f7f5c5ad15ec56eda8e27cc18573
parent30545a8e1a333c252566dcc11952b36517780f06
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