[U-Boot] [PATCH] dm: uclass: fix comment copy/paste error

Baruch Siach baruch at tkos.co.il
Thu Jul 11 08:23:44 UTC 2019


The uclass_next_device() routine continues a previously started device
iteration. Change the description that is copied from
uclass_first_device().

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 include/dm/uclass.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 1bc62d523ee8..484d16601350 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -297,7 +297,7 @@ int uclass_first_device_err(enum uclass_id id, struct udevice **devp);
  *
  * The device returned is probed if necessary, and ready for use
  *
- * This function is useful to start iterating through a list of devices which
+ * This function is useful to iterate through a list of devices which
  * are functioning correctly and can be probed.
  *
  * @devp: On entry, pointer to device to lookup. On exit, returns pointer
-- 
2.20.1



More information about the U-Boot mailing list