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>
@ -140,7 +140,7 @@ Here is a very rough overview of the layout of a DTS source file:
@@ -140,7 +140,7 @@ Here is a very rough overview of the layout of a DTS source file:
@ -333,13 +333,12 @@ static int check_properties(struct node *node)
@@ -333,13 +333,12 @@ static int check_properties(struct node *node)
prop->name, node->fullpath);
}
}
/* check name length */
if (strlen(prop->name) > MAX_PROPNAME_LEN)
WARNMSG("Property name %s is too long in %s\n",
prop->name, node->fullpath);
/* check this property */
for (i = 0; i < ARRAY_SIZE(prop_checker_table); i++) {
if (streq(prop->name, prop_checker_table[i].propname))
@ -426,7 +425,7 @@ static int check_structure(struct node *tree)
@@ -426,7 +425,7 @@ static int check_structure(struct node *tree)
(node)->fullpath, (propname), \
prop->val.val, (value)); \
} while (0)
#define CHECK_HAVE_ONECELL(node, propname) \
do { \
CHECK_HAVE((node), (propname)); \
@ -553,7 +552,7 @@ static int check_cpus(struct node *root, int outversion, int boot_cpuid_phys)
@@ -553,7 +552,7 @@ static int check_cpus(struct node *root, int outversion, int boot_cpuid_phys)
WARNMSG("physical boot CPU not set. Use -b option to set\n");
}
return ok;
return ok;
}
static int check_memory(struct node *root)
@ -578,7 +577,7 @@ static int check_memory(struct node *root)
@@ -578,7 +577,7 @@ static int check_memory(struct node *root)