提交 ab29a34a 编写于 作者: S Simon Glass

stdio: Correct code style nits

Fix a few code style nits in stdio_get_by_name().
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 c8816d14
......@@ -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)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册