commit | d45560d8763e0863749d5d327c0c4cb1bb9172b6 | [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 | 60d971ba551045ec5835719abfee138859088248 [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>