u-boot/drivers/block
Michal Suchanek 9b7474d83b 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>
2022-10-17 21:17:12 -06:00
..
blk_legacy.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
blk-uclass.c dm: blk: Do not use uclass_next_device_err 2022-10-17 21:17:12 -06:00
blkcache.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
efi_blk.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
efi-media-uclass.c efi: Add uclass for devices provided by UEFI firmware 2021-12-09 11:43:25 -08:00
ide.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
Kconfig blk: Hide the BLK and SPL_LEGACY_BLOCK options 2022-09-16 11:05:16 -04:00
Makefile blk: Rename HAVE_BLOCK_DEVICE 2022-09-16 11:05:16 -04:00
sandbox.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
sb_efi_media.c efi: Add uclass for devices provided by UEFI firmware 2021-12-09 11:43:25 -08:00