summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-generic.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-17 20:43:01 +0900
committerTom Rini <trini@konsulko.com>2016-10-24 08:04:42 -0400
commit6e67f176bb0531903d4b443fe7ad477382d0eacc (patch)
treef4b78499c35d9ad767cd4b79dd65d073312b3d23 /drivers/pinctrl/pinctrl-generic.c
parent01ae56cfcb3f6bbcd1e1cbd283ae2b8b38587664 (diff)
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/pinctrl/pinctrl-generic.c')
-rw-r--r--drivers/pinctrl/pinctrl-generic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-generic.c b/drivers/pinctrl/pinctrl-generic.c
index 482db295fe..3629322dbb 100644
--- a/drivers/pinctrl/pinctrl-generic.c
+++ b/drivers/pinctrl/pinctrl-generic.c
@@ -306,12 +306,12 @@ static int pinctrl_generic_set_state_subnode(struct udevice *dev,
const char *name;
int strings_count, selector, i, ret;
- strings_count = fdt_stringlist_count(fdt, node, subnode_target_type);
+ strings_count = fdt_stringlist_count(fdt, node, subnode_target_type);
if (strings_count < 0) {
subnode_target_type = "groups";
is_group = true;
- strings_count = fdt_stringlist_count(fdt, node,
- subnode_target_type);
+ strings_count = fdt_stringlist_count(fdt, node,
+ subnode_target_type);
if (strings_count < 0) {
/* skip this node; may contain config child nodes */
return 0;