commit | 954e04b9491adea99e4590bc73937fdd8774ab3c | [log] [tgz] |
---|---|---|
author | Bryan Wu <cooloney@gmail.com> | Tue Sep 24 10:38:26 2013 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Fri Oct 25 10:12:31 2013 -0700 |
tree | ff4b2d6f961b9243e1a678f0c054a555c652e67e | |
parent | bb6febdc90efe7f664328075c204eed8e9af7ec9 [diff] |
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>