[U-Boot] [PATCH 08/39] dm: core: Add a comment about the device_remove() flags

Simon Glass sjg at chromium.org
Tue Jul 4 19:49: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>
---

 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.13.2.725.g09c95d1e9-goog



More information about the U-Boot mailing list