Commit 6e67f176bb0531903d4b443fe7ad477382d0eacc

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 01ae56cfcb

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>

Showing 6 changed files with 9 additions and 9 deletions Side-by-side Diff

arch/arm/mach-tegra/xusb-padctl-common.c
... ... @@ -82,7 +82,7 @@
82 82  
83 83 group->name = fdt_get_name(fdt, node, &len);
84 84  
85   - len = fdt_stringlist_count(fdt, node, "nvidia,lanes");
  85 + len = fdt_stringlist_count(fdt, node, "nvidia,lanes");
86 86 if (len < 0) {
87 87 error("failed to parse \"nvidia,lanes\" property");
88 88 return -EINVAL;
drivers/core/device.c
... ... @@ -698,8 +698,8 @@
698 698 #if CONFIG_IS_ENABLED(OF_CONTROL)
699 699 int index;
700 700  
701   - index = fdt_stringlist_search(gd->fdt_blob, dev->of_offset, "reg-names",
702   - name);
  701 + index = fdt_stringlist_search(gd->fdt_blob, dev->of_offset,
  702 + "reg-names", name);
703 703 if (index < 0)
704 704 return index;
705 705  
drivers/net/sun8i_emac.c
... ... @@ -457,7 +457,7 @@
457 457 int pin;
458 458  
459 459 pin_name = fdt_stringlist_get(gd->fdt_blob, offset,
460   - "allwinner,pins", i, NULL);
  460 + "allwinner,pins", i, NULL);
461 461 if (!pin_name)
462 462 break;
463 463 if (pin_name[0] != 'P')
drivers/pinctrl/exynos/pinctrl-exynos.c
... ... @@ -80,7 +80,7 @@
80 80 * refer to the following document for the pinctrl bindings
81 81 * linux/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
82 82 */
83   - count = fdt_stringlist_count(fdt, node, "samsung,pins");
  83 + count = fdt_stringlist_count(fdt, node, "samsung,pins");
84 84 if (count <= 0)
85 85 return -EINVAL;
86 86  
drivers/pinctrl/pinctrl-generic.c
... ... @@ -306,12 +306,12 @@
306 306 const char *name;
307 307 int strings_count, selector, i, ret;
308 308  
309   - strings_count = fdt_stringlist_count(fdt, node, subnode_target_type);
  309 + strings_count = fdt_stringlist_count(fdt, node, subnode_target_type);
310 310 if (strings_count < 0) {
311 311 subnode_target_type = "groups";
312 312 is_group = true;
313   - strings_count = fdt_stringlist_count(fdt, node,
314   - subnode_target_type);
  313 + strings_count = fdt_stringlist_count(fdt, node,
  314 + subnode_target_type);
315 315 if (strings_count < 0) {
316 316 /* skip this node; may contain config child nodes */
317 317 return 0;
drivers/video/sunxi_display.c
... ... @@ -1563,7 +1563,7 @@
1563 1563 "allwinner,simple-framebuffer");
1564 1564 while (offset >= 0) {
1565 1565 ret = fdt_stringlist_search(blob, offset, "allwinner,pipeline",
1566   - pipeline);
  1566 + pipeline);
1567 1567 if (ret == 0)
1568 1568 break;
1569 1569 offset = fdt_node_offset_by_compatible(blob, offset,