]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add a function to find the first inactive child
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:07 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commitc709da4a7bae1a0a0b7d5130288db8cd03475ee9
tree4940b03e27947c496c460da6df96d719fe29dedc
parentb26adaac65cee485caa3ee9e40420a4928dbe072
dm: core: Add a function to find the first inactive child

Some devices have children and want to press an existing inactive child
into service when needed. Add a function to help with this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device.h
test/dm/core.c