projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8816d1
)
stdio: Correct code style nits
author
Simon Glass
<sjg@chromium.org>
Sun, 13 Nov 2016 21:21:59 +0000
(14:21 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sat, 26 Nov 2016 00:59:30 +0000
(17:59 -0700)
Fix a few code style nits in stdio_get_by_name().
Signed-off-by: Simon Glass <sjg@chromium.org>
common/stdio.c
patch
|
blob
|
history
diff --git
a/common/stdio.c
b/common/stdio.c
index 8e4a9beef4542dab055489c31589a0f4c64b3707..a7d016bb9d2409d3e226afe41495fe30d69063d8 100644
(file)
--- a/
common/stdio.c
+++ b/
common/stdio.c
@@
-173,12
+173,12
@@
static int stdio_probe_device(const char *name, enum uclass_id id,
}
#endif
-struct stdio_dev
*
stdio_get_by_name(const char *name)
+struct stdio_dev
*
stdio_get_by_name(const char *name)
{
struct list_head *pos;
struct stdio_dev *sdev;
- if(!name)
+ if
(!name)
return NULL;
list_for_each(pos, &(devs.list)) {