diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-23 20:10:43 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:19 -0600 |
commit | 30a570a983c77cddda314cdb2bc5763112338746 (patch) | |
tree | a47bab91f813317366d125f5248e711d104dc7c3 /drivers/core/uclass.c | |
parent | 6b26aaef083957b75bcd69aa65bd6ffcf9245bb3 (diff) |
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/core/uclass.c')
-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 21dc696da3..97500f4108 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; |