From: Simon Glass <sjg@chromium.org>
Date: Sat, 30 Jul 2022 21:52:24 +0000 (-0600)
Subject: bootstd: Tidy comments in bootflow_scan_bootdev()
X-Git-Tag: v2025.01-rc5-pxa1908~1313^2~13
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=ee47d4af059aec024d2ac374e93089daa4bee324;p=u-boot.git

bootstd: Tidy comments in bootflow_scan_bootdev()

Fix a few nits in this function comment.

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

diff --git a/include/bootflow.h b/include/bootflow.h
index c30ba042a4..4fa482a678 100644
--- a/include/bootflow.h
+++ b/include/bootflow.h
@@ -169,9 +169,9 @@ int bootflow_iter_drop_bootmeth(struct bootflow_iter *iter,
  * If @flags includes BOOTFLOWF_ALL then bootflows with errors are returned too
  *
  * @dev:	Boot device to scan, NULL to work through all of them until it
- *	finds one that * can supply a bootflow
+ *	finds one that can supply a bootflow
  * @iter:	Place to store private info (inited by this call)
- * @flags:	Flags for bootdev (enum bootflow_flags_t)
+ * @flags:	Flags for iterator (enum bootflow_flags_t)
  * @bflow:	Place to put the bootflow if found
  * Return: 0 if found,  -ENODEV if no device, other -ve on other error
  *	(iteration can continue)