summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-16 10:58:39 +0100
committerTom Rini <[email protected]>2025-07-24 11:49:18 -0600
commit70bf6e33e15e2ce56f6e3e9a3f725136c9c6f486 (patch)
treeea7b290d72019b226d402aafc83667292abf7509 /include
parent7bf2a52b4943b5a83785d8fbd66275cb8e93c49d (diff)
uclass: Cleanup uclass_find_next_device
uclass_find_next_device always returns 0, so instead make it a void and update calling sites. Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/dm/uclass-internal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/dm/uclass-internal.h b/include/dm/uclass-internal.h
index 3ddcdd21439..9cb3f090271 100644
--- a/include/dm/uclass-internal.h
+++ b/include/dm/uclass-internal.h
@@ -149,10 +149,8 @@ int uclass_find_first_device(enum uclass_id id, struct udevice **devp);
*
* The device is not prepared for use - this is an internal function.
* The function uclass_get_device_tail() can be used to probe the device.
- *
- * Return: 0 if OK (found or not found), -ve on error
*/
-int uclass_find_next_device(struct udevice **devp);
+void uclass_find_next_device(struct udevice **devp);
/**
* uclass_find_device_by_namelen() - Find uclass device based on ID and name