bootstd: Tidy up var naming in bootdev_setup_iter_order()
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:20 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:14:24 +0000 (08:14 -0400)
commita18686cda14cf0281a00fe1cd44c2647d351d4aa
tree5d438ccc4614968a7128624b32128eabdcc17557
parent988cacaeedae920c13741c9ab2fc580f63a06c3a
bootstd: Tidy up var naming in bootdev_setup_iter_order()

Avoid using 'count' to mean either a count or an error, since this is
confusing. In fact, the called function never return 0, since that is an
error.

Use 'ret' instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootdev-uclass.c