From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 31 Oct 2016 14:39:21 -0600 Subject: [U-Boot] [PATCH 05/20] stdio: Correct code style nits In-Reply-To: <1477946376-29471-1-git-send-email-sjg@chromium.org> References: <1477946376-29471-1-git-send-email-sjg@chromium.org> Message-ID: <1477946376-29471-6-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix a few code style nits in stdio_get_by_name(). Signed-off-by: Simon Glass --- common/stdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/stdio.c b/common/stdio.c index 8e4a9be..a7d016b 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)) { -- 2.8.0.rc3.226.g39d4020