dm: core: Add a function to count the children of a device
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 4 Sep 2019 10:31:26 +0000 (16:01 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:07:33 +0000 (10:07 -0400)
commit240b93201007183d5fd651a210ddb4c50ee30980
tree0c26904b4c83bebecc358ac33aa1025ce13f1d0c
parentbc74163a46208d1f9af8bfd2d06859b62145ef56
dm: core: Add a function to count the children of a device

Add a function to count the available children of a device.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/core/device.c
include/dm/device.h
test/dm/bus.c