commit | a327dee0f40bcdebaba1a3e47f2b9f1ceb970d2a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 23 06:55:21 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 23 14:08:37 2014 +0100 |
tree | 20ba09ee61b51416bc86808abf7315fe6266e1ed | |
parent | e59f458de6999b8a786da857e653db6777f675ca [diff] |
dm: Add child_pre_probe() and child_post_remove() methods Some devices (particularly bus devices) must track their children, knowing when a new child is added so that it can be set up for communication on the bus. Add a child_pre_probe() method to provide this feature, and a corresponding child_post_remove() method. Signed-off-by: Simon Glass <sjg@chromium.org>