mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
Fix codying style broken by recent libfdt sync
Commit b02e4044ff
("libfdt: Bring in upstream stringlist
functions") broke codying style in some places especially
by inserting an extra whitespace before fdt_stringlist_count().
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
01ae56cfcb
commit
6e67f176bb
6 changed files with 9 additions and 9 deletions
|
@ -698,8 +698,8 @@ fdt_addr_t dev_get_addr_name(struct udevice *dev, const char *name)
|
||||||
#if CONFIG_IS_ENABLED(OF_CONTROL)
|
#if CONFIG_IS_ENABLED(OF_CONTROL)
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
index = fdt_stringlist_search(gd->fdt_blob, dev->of_offset, "reg-names",
|
index = fdt_stringlist_search(gd->fdt_blob, dev->of_offset,
|
||||||
name);
|
"reg-names", name);
|
||||||
if (index < 0)
|
if (index < 0)
|
||||||
return index;
|
return index;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue