diff options
author | Michal Suchanek <msuchanek@suse.de> | 2022-10-12 22:57:53 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-10-18 06:17:12 +0300 |
commit | 28a22cd9a482b947b21646ae595e3284cdea3002 (patch) | |
tree | 59a2736c2065d68a79cbcc951a67d1729dec7f4b /drivers | |
parent | 5afe93a18c92a5f08dc6d38c4525e378ffb5067a (diff) | |
download | u-boot-28a22cd9a482b947b21646ae595e3284cdea3002.tar.xz |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions