]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:52 +0000 (21:47 +0200)
commita6af35deb3dbf404f49e13f67c1206788346de57
tree3027e951560744c976b3887d480a246db69de68d
parent8a8c0797db1542d9157c2ed8dee53e7b530ba0e1
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