summaryrefslogtreecommitdiffstats
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-08 23:47:58 -0700
committerSimon Glass <sjg@chromium.org>2015-11-19 20:27:51 -0700
commit79725ca4f6d583e4c677f694b89c839ed7b07b8f (patch)
tree576fd3db9205422aa9c01b4514371d5426a6ef2a /include/dm
parentba94e839119d15a3285a0c33ae24f401e997772d (diff)
downloadblackbird-obmc-uboot-79725ca4f6d583e4c677f694b89c839ed7b07b8f.tar.gz
blackbird-obmc-uboot-79725ca4f6d583e4c677f694b89c839ed7b07b8f.zip
Revert "dm: Export device_remove_children / device_unbind_children"
This reverts commit bb52b367f6ca4a3a918e77737f4ff6a1089912d9. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/device-internal.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index 322d35a478..9388870d0c 100644
--- a/include/dm/device-internal.h
+++ b/include/dm/device-internal.h
@@ -107,32 +107,6 @@ int device_unbind(struct udevice *dev);
static inline int device_unbind(struct udevice *dev) { return 0; }
#endif
-/**
- * device_remove_children() - Stop all device's children
- * @dev: The device whose children are to be removed
- * @return 0 on success, -ve on error
- */
-#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)
-int device_remove_children(struct udevice *dev);
-#else
-static inline int device_remove_children(struct udevice *dev) { return 0; }
-#endif
-
-/**
- * device_unbind_children() - Unbind all device's children from the device
- *
- * On error, the function continues to unbind all children, and reports the
- * first error.
- *
- * @dev: The device that is to be stripped of its children
- * @return 0 on success, -ve on error
- */
-#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)
-int device_unbind_children(struct udevice *dev);
-#else
-static inline int device_unbind_children(struct udevice *dev) { return 0; }
-#endif
-
#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)
void device_free(struct udevice *dev);
#else
OpenPOWER on IntegriCloud