diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-24 02:10:43 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 16:08:19 (GMT) |
commit | 30a570a983c77cddda314cdb2bc5763112338746 (patch) | |
tree | a47bab91f813317366d125f5248e711d104dc7c3 /drivers | |
parent | 6b26aaef083957b75bcd69aa65bd6ffcf9245bb3 (diff) | |
download | u-boot-30a570a983c77cddda314cdb2bc5763112338746.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/core/uclass.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index 21dc696..97500f4 100644 --- a/drivers/core/uclass.c +++ b/drivers/core/uclass.c @@ -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; |