[PATCH v6 09/20] cmd: List all uclass devices regardless of probe error
Simon Glass
sjg at chromium.org
Mon Oct 17 23:29:16 CEST 2022
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 at suse.de>
Reviewed-by: Simon Glass <sjg at 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!
More information about the U-Boot
mailing list