mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00: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:
parent
6b26aaef08
commit
30a570a983
2 changed files with 12 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue