dm: core: Add functions for iterating through device children
authorSimon Glass <sjg@chromium.org>
Tue, 14 Oct 2014 05:41:49 +0000 (23:41 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:45 +0000 (10:36 -0600)
commita8981d4f80b010666ad754d20a4f389f94d6726d
tree48bf392bb2e0f00248ac4949fdceefa4b7509cb6
parent0b304a2494eed170562a9fdd64e31332ad5ae73a
dm: core: Add functions for iterating through device children

Buses need to iterate through their children in some situations. Add a few
functions to make this easy.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
doc/driver-model/README.txt
drivers/core/device.c
include/dm/device.h
test/dm/bus.c