]> git.baikalelectronics.ru Git - kernel.git/commit
of: introduce of_get_available_child_count
authorBryan Wu <cooloney@gmail.com>
Tue, 24 Sep 2013 17:38:26 +0000 (10:38 -0700)
committerBryan Wu <cooloney@gmail.com>
Fri, 25 Oct 2013 17:12:31 +0000 (10:12 -0700)
commit13ada15b8d26b2b66609053d1738e8f613411dc5
treeff4b2d6f961b9243e1a678f0c054a555c652e67e
parentd5df4392a954d7bd6d3d9092b427eddcc91c5bdf
of: introduce of_get_available_child_count

Some drivers keep counting available child by themselves. So
introduce a new simple API like of_get_child_count() but for
available childs.

Cc: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
include/linux/of.h