u-boot/drivers/core
Michal Suchanek f21954750a dm: core: Do not stop uclass iteration on error
When probing a device fails NULL pointer is returned, and following
devices in uclass list cannot be iterated. Skip to next device on error
instead.

With that the only condition under which these simple iteration
functions return error is when the dm is not initialized at uclass_get
time. This is not all that interesting, change return type to void.

Fixes: 6494d708bf ("dm: Add base driver model support")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-10-29 07:36:33 -06:00
..
acpi.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
device-remove.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
device.c dm: core: Support accessing core tags 2022-06-28 03:09:52 +01:00
devres.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
dump.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
fdtaddr.c dm: core: Reduce code size with dev_of_offset() 2022-09-29 16:11:14 -04:00
Kconfig dm: tpl: Add fdt address translation support in TPL 2022-10-29 07:36:33 -06:00
lists.c dm: core: Fix lists_bind_fdt() using non-existent of_match 2022-10-29 07:36:33 -06:00
Makefile vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
of_access.c dm: core: Expand integer-reading tests 2022-09-29 22:43:42 -04:00
of_addr.c drivers/core/of_addr.c: Fix spelling of "shouldn't". 2022-01-13 07:57:50 -05:00
of_extra.c net: introduce a helper to determine whether to use in-band autoneg 2021-11-23 09:57:55 +02:00
ofnode.c dm: core: Support copying properties with ofnode 2022-09-29 22:43:43 -04:00
read.c dm: core: Rename ofnode_get_property_by_prop() 2022-09-29 16:11:14 -04:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c dm: regmap: Disable range checks in SPL 2022-10-17 21:17:12 -06:00
root.c dm: core: Add a way to collect memory usage 2022-06-28 03:09:52 +01:00
simple-bus.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
simple-pm-bus.c simple-pm-bus: Use -ENOSYS for checking missing system call 2021-04-06 16:33:19 +12:00
syscon-uclass.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
tag.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
uclass.c dm: core: Do not stop uclass iteration on error 2022-10-29 07:36:33 -06:00
util.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00