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>
This commit is contained in:
David Gibson 2007-09-18 11:44:04 +10:00 committed by Jon Loeliger
parent 8d59bd3b17
commit 63dc9c7113
21 changed files with 87 additions and 90 deletions

View File

@ -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",

View File

@ -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,

View File

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