bootstd: Tidy comments in bootflow_scan_bootdev()
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:24 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:17:11 +0000 (08:17 -0400)
Fix a few nits in this function comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/bootflow.h

index c30ba04..4fa482a 100644 (file)
@@ -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)