diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-13 14:21:59 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-11-25 17:59:30 -0700 |
commit | ab29a34a598c2a78a43bcc68c0e097d814038f41 (patch) | |
tree | 5fdf61ff68998ffc95bba15a53f9817983c802c5 /common/stdio.c | |
parent | c8816d1442a4fe0ba107320eba063f59dac940fb (diff) | |
download | u-boot-ab29a34a598c2a78a43bcc68c0e097d814038f41.tar.gz u-boot-ab29a34a598c2a78a43bcc68c0e097d814038f41.tar.bz2 u-boot-ab29a34a598c2a78a43bcc68c0e097d814038f41.zip |
stdio: Correct code style nits
Fix a few code style nits in stdio_get_by_name().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/stdio.c')
-rw-r--r-- | common/stdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/stdio.c b/common/stdio.c index 8e4a9beef4..a7d016bb9d 100644 --- 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)) { |