summaryrefslogtreecommitdiff
path: root/drivers/core/device.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-17 11:43:01 (GMT)
committerTom Rini <trini@konsulko.com>2016-10-24 12:04:42 (GMT)
commit6e67f176bb0531903d4b443fe7ad477382d0eacc (patch)
treef4b78499c35d9ad767cd4b79dd65d073312b3d23 /drivers/core/device.c
parent01ae56cfcb3f6bbcd1e1cbd283ae2b8b38587664 (diff)
downloadu-boot-6e67f176bb0531903d4b443fe7ad477382d0eacc.tar.xz
Fix codying style broken by recent libfdt sync
Commit b02e4044ff8e ("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>
Diffstat (limited to 'drivers/core/device.c')
-rw-r--r--drivers/core/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/core/device.c b/drivers/core/device.c
index 1935b8d..dcf5d9d 100644
--- a/drivers/core/device.c
+++ b/drivers/core/device.c
@@ -698,8 +698,8 @@ fdt_addr_t dev_get_addr_name(struct udevice *dev, const char *name)
#if CONFIG_IS_ENABLED(OF_CONTROL)
int index;
- index = fdt_stringlist_search(gd->fdt_blob, dev->of_offset, "reg-names",
- name);
+ index = fdt_stringlist_search(gd->fdt_blob, dev->of_offset,
+ "reg-names", name);
if (index < 0)
return index;