mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -173,12 +173,12 @@ static int stdio_probe_device(const char *name, enum uclass_id id,
|
||||||
}
|
}
|
||||||
#endif
|
#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 list_head *pos;
|
||||||
struct stdio_dev *sdev;
|
struct stdio_dev *sdev;
|
||||||
|
|
||||||
if(!name)
|
if (!name)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
list_for_each(pos, &(devs.list)) {
|
list_for_each(pos, &(devs.list)) {
|
||||||
|
|
Loading…
Reference in a new issue