summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorMichal Suchanek <[email protected]>2022-10-12 21:58:09 +0200
committerSimon Glass <[email protected]>2022-10-29 07:36:33 -0600
commitf21954750aa8ed445ab83998bb099e366136c428 (patch)
treeada26fe279934fbb18d69324010b3ce1f55ffb63 /doc/develop
parent4954937d922840c212b7eba297cc2d4779f087ad (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions