commit | 675e90886925470c4fe9f2fa85f9cf5ea3c4b630 | [log] [tgz] |
---|---|---|
author | Michal Suchanek <msuchanek@suse.de> | Wed Oct 12 21:57:53 2022 +0200 |
committer | Simon Glass <sjg@chromium.org> | Mon Oct 17 21:17:12 2022 -0600 |
tree | 59a2736c2065d68a79cbcc951a67d1729dec7f4b | |
parent | fae28a33083602a25f5b3ad6fdbd5f490d548277 [diff] |
bootstd: Fix listing boot devices bootdev_list() uses uclass_*_device_err() to iterate devices. However, the only value _err adds is returning an error when the device pointer is null, and that's checked anyway. Also there is some intent to report errors, and that's what uclass_*_device_check() is for, use it. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>