forked from Imagelibrary/rtems
Fix a few whitespace and style nits
These were noticed when synching with U-Boot's downstream tree. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
committed by
Sebastian Huber
parent
f984d8f968
commit
903d2ec5fb
@@ -81,4 +81,3 @@ int fdt_create_empty_tree(void *buf, int bufsize)
|
|||||||
|
|
||||||
return fdt_open_into(buf, buf, bufsize);
|
return fdt_open_into(buf, buf, bufsize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name,
|
|||||||
int err;
|
int err;
|
||||||
|
|
||||||
*prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
|
*prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
|
||||||
if (! (*prop))
|
if (!*prop)
|
||||||
return oldlen;
|
return oldlen;
|
||||||
|
|
||||||
if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen),
|
if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen),
|
||||||
|
|||||||
Reference in New Issue
Block a user