mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 16:32:07 +02:00
dm: core: Clarify uclass_first/next_device() comments
These are not as clear as they could be. Tidy them up a bit. Also fix a tiny code-style nit. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -366,8 +366,7 @@ int uclass_get_device_by_driver(enum uclass_id id,
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
int uclass_get_device_tail(struct udevice *dev, int ret,
|
||||
struct udevice **devp)
|
||||
int uclass_get_device_tail(struct udevice *dev, int ret, struct udevice **devp)
|
||||
{
|
||||
if (ret)
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user