[U-Boot] [PATCH v2 09/40] dm: core: Add a comment about the device_remove() flags

Simon Glass sjg at chromium.org
Sat Jul 29 17:35:00 UTC 2017


We should explain which flags are used for this function. Update the
comment to indicate this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 include/dm/device-internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index 81ab893b60..eaeadd48d2 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)
-- 
2.14.0.rc0.400.g1c36432dff-goog



More information about the U-Boot mailing list