diff options
author | Michal Suchanek <msuchanek@suse.de> | 2022-10-12 22:58:01 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-10-18 06:17:12 +0300 |
commit | 9b7474d83b45d2b738866e9a4a46fe2b498a65d1 (patch) | |
tree | 0a3317839b349c0fe6a31ab82cbf15fb1ab27dd0 /net/eth-uclass.c | |
parent | 1d0617bd747b59251782aa9f87a23e634cf543ac (diff) | |
download | u-boot-9b7474d83b45d2b738866e9a4a46fe2b498a65d1.tar.xz |
dm: blk: Do not use uclass_next_device_err
blk_first_device_err/blk_next_device_err uses
uclass_first_device_err/uclass_next_device_err for device iteration.
Although the function names superficially match the return value from
uclass_first_device_err/uclass_next_device_err is never used
meaningfully, and uclass_first_device/uclass_next_device works equally
well for this purpose.
In the following patch the semantic of
uclass_first_device_err/uclass_next_device_err will be changed to be
based on uclass_first_device_check/uclass_next_device_check breaking
this sole user that uses uclass_next_device_err for iteration.
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/eth-uclass.c')
0 files changed, 0 insertions, 0 deletions