]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 22 Oct 2013 18:04:41 +0000 (11:04 -0700)
commit72976b65afee02d6dd06f74f6b6672c7f10c4a9a
tree316551d8bb7516758365c9357b0c32989a3e4f1e
parent2f413d391beb161aaeacd4fd8cbade0c19d5182d
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>
include/linux/of.h