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:
parent
c8816d1442
commit
ab29a34a59
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user