summaryrefslogtreecommitdiff
path: root/include/dm/device-internal.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-25 14:58:42 -0700
committerSimon Glass <sjg@chromium.org>2016-01-28 21:01:23 -0700
commitc6db965f67c01c9ac6570eed690103f3ea30b3c4 (patch)
tree96f908d0db50a1122342f2407bc207901fdd66df /include/dm/device-internal.h
parente5bb279f826fb6967a554f6aaf6c8bf86b23cde2 (diff)
downloadu-boot-c6db965f67c01c9ac6570eed690103f3ea30b3c4.tar.gz
dm: Remove device_probe_child()
This function is not used as the use case for it did not eventuate. Remove it to avoid confusion. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/dm/device-internal.h')
-rw-r--r--include/dm/device-internal.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index 9388870d0c..b348ad5231 100644
--- a/include/dm/device-internal.h
+++ b/include/dm/device-internal.h
@@ -66,19 +66,6 @@ int device_bind_by_name(struct udevice *parent, bool pre_reloc_only,
int device_probe(struct udevice *dev);
/**
- * device_probe() - Probe a child device, activating it
- *
- * Activate a device so that it is ready for use. All its parents are probed
- * first. The child is provided with parent data if parent_priv is not NULL.
- *
- * @dev: Pointer to device to probe
- * @parent_priv: Pointer to parent data. If non-NULL then this is provided to
- * the child.
- * @return 0 if OK, -ve on error
- */
-int device_probe_child(struct udevice *dev, void *parent_priv);
-
-/**
* device_remove() - Remove a device, de-activating it
*
* De-activate a device so that it is no longer ready for use. All its