stdio: Correct code style nits

Fix a few code style nits in stdio_get_by_name().

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2016-11-13 14:21:59 -07:00
parent c8816d1442
commit ab29a34a59

View File

@ -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)) {