
17 Oct
2022
17 Oct
'22
11:29 p.m.
There are a few commands that iterate uclass with uclass_first_device/uclass_next_device or the _err variant.
Use the _check class iterator variant to get devices that fail to probe as well, and print the status.
Signed-off-by: Michal Suchanek msuchanek@suse.de Reviewed-by: Simon Glass sjg@chromium.org --- v6: Drop errno_str --- cmd/adc.c | 20 ++++++++------------ cmd/demo.c | 15 +++++++++------ cmd/gpio.c | 15 +++++++++++---- cmd/pmic.c | 15 ++++++++------- cmd/regulator.c | 13 +++++++------ 5 files changed, 43 insertions(+), 35 deletions(-)
Applied to u-boot-dm, thanks!