u-boot/include/dm
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
..
platform_data arm: Remove PXA architecture support 2022-07-07 09:29:08 -04:00
acpi.h acpi: Collect tables in the acpi_item list 2022-01-25 11:44:36 -07:00
device-internal.h dm: core: Add note about device_probe idempotence 2022-10-29 07:36:33 -06:00
device.h dm: core: Reduce code size with dev_of_offset() 2022-09-29 16:11:14 -04:00
device_compat.h dm: Don't undefine dev_xxx macros 2020-10-16 09:44:27 -04:00
devres.h dm: core: Allow devres to be disabled in SPL 2022-04-18 17:53:56 -04:00
fdtaddr.h doc: add include/dm/fdtaddr.h to the HTML documentation 2022-01-15 10:57:21 +01:00
lists.h dm: core: Document return value of device bind functions 2022-10-29 07:36:33 -06:00
of.h dm: core: Document the livetree structures properly 2022-09-29 16:07:58 -04:00
of_access.h dm: core: Expand integer-reading tests 2022-09-29 22:43:42 -04:00
of_addr.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_extra.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
ofnode.h dm: core: Update docs about oftree_from_fdt() 2022-10-17 21:17:13 -06:00
ofnode_decl.h dm: core: Add definitions for multiple ofnode trees 2022-09-29 22:43:43 -04:00
pci.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pinctrl.h pinctrl: Add third argument label for pinctrl_gpio_request() function 2022-07-28 15:17:45 +02:00
platdata.h doc: add include/dm/platdata.h to the HTML documentation 2022-01-15 10:57:21 +01:00
read.h dm: core: Rename ofnode_get_property_by_prop() 2022-09-29 16:11:14 -04:00
root.h dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
simple_bus.h dm: core: Correctly read <ranges> of simple-bus 2021-04-15 14:22:17 +05:30
tag.h dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
test.h dm: core: Switch the testbus driver to use a new struct 2022-06-28 03:09:52 +01:00
uclass-id.h dm: memory: Introduce new uclass 2022-10-26 15:21:11 -04:00
uclass-internal.h dm: core: Allow finding a uclass device by partial name 2022-04-25 10:00:03 -04:00
uclass.h dm: core: Do not stop uclass iteration on error 2022-10-29 07:36:33 -06:00
util.h dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00