Browse Source

dtc: Whitespace cleanup

This large patch removes all trailing whitespace from dtc (including
libfdt, the testsuite and documentation).  It also removes a handful
of redundant blank lines (at the end of functions, or when there are
two blank lines together for no particular reason).

As well as anything else, this means that quilt won't whinge when I go
to convert the whole of libfdt into a patch to apply to the kernel.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
David Gibson 17 years ago committed by Jon Loeliger
parent
commit
63dc9c7113
  1. 1
      livetree.c
  2. 1
      tests/testutils.c
  3. 1
      treesource.c

1
livetree.c

@ -334,7 +334,6 @@ static int check_properties(struct node *node) @@ -334,7 +334,6 @@ static int check_properties(struct node *node)
}
}


/* check name length */
if (strlen(prop->name) > MAX_PROPNAME_LEN)
WARNMSG("Property name %s is too long in %s\n",

1
tests/testutils.c

@ -104,7 +104,6 @@ void check_property(void *fdt, int nodeoffset, const char *name, @@ -104,7 +104,6 @@ void check_property(void *fdt, int nodeoffset, const char *name,
name, proplen, len);
if (memcmp(val, prop->data, len) != 0)
FAIL("Data mismatch on property \"%s\"", name);
}

const void *check_getprop(void *fdt, int nodeoffset, const char *name,

1
treesource.c

@ -77,7 +77,6 @@ static enum proptype guess_type(struct property *prop) @@ -77,7 +77,6 @@ static enum proptype guess_type(struct property *prop)
return PROP_CELLS;
else
return PROP_BYTES;
}



Loading…
Cancel
Save