]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add device children and sibling functions
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:21:57 +0000 (12:21 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:19 +0000 (11:11 -0600)
commitc5785673bc6f4b8f2a4974979710a2c5c15eb063
tree664a8e740827abdd48b4b3959155052c2842d35b
parent206d4d2b4b30889678bb6b064002013a427b1501
dm: core: Add device children and sibling functions

Add some utility functions to check for children and for the last sibling in
a device's parent.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/core/device.c
include/dm/device.h