summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-29 17:35:00 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2017-08-17 07:44:16 (GMT)
commite88afccc44562912a681ce14e348408277d942cb (patch)
treed8a42e1fc7d608fbde67241deb501246b79c42da
parent7074b2a3649acc9fd6e5db8d24c2c9c6fc35d5df (diff)
downloadu-boot-e88afccc44562912a681ce14e348408277d942cb.tar.xz
dm: core: Add a comment about the device_remove() flags
We should explain which flags are used for this function. Update the comment to indicate this. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/dm/device-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index 81ab893..eaeadd4 100644
--- a/include/dm/device-internal.h
+++ b/include/dm/device-internal.h
@@ -98,7 +98,7 @@ int device_probe(struct udevice *dev);
* children are deactivated first.
*
* @dev: Pointer to device to remove
- * @flags: Flags for selective device removal
+ * @flags: Flags for selective device removal (DM_REMOVE_...)
* @return 0 if OK, -ve on error (an error here is normally a very bad thing)
*/
#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)