mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +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
|
||||
|
||||
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…
Add table
Reference in a new issue