diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-08 10:14:42 -0600 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-19 07:01:11 +0200 |
commit | 903d2ec5fb5919c4c7a03c606d69c87d12ad4c93 (patch) | |
tree | 40b81ef8a0f471e5cd9356763d3108647c4306f5 /cpukit/dtc/libfdt/fdt_wip.c | |
parent | Add a libfdt function to write a property placeholder (diff) | |
download | rtems-903d2ec5fb5919c4c7a03c606d69c87d12ad4c93.tar.bz2 |
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>
Diffstat (limited to '')
-rw-r--r-- | cpukit/dtc/libfdt/fdt_wip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/dtc/libfdt/fdt_wip.c b/cpukit/dtc/libfdt/fdt_wip.c index 6aaab39992..5e85919862 100644 --- a/cpukit/dtc/libfdt/fdt_wip.c +++ b/cpukit/dtc/libfdt/fdt_wip.c @@ -82,7 +82,7 @@ int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, int proplen; propval = fdt_getprop(fdt, nodeoffset, name, &proplen); - if (! propval) + if (!propval) return proplen; if (proplen != len) @@ -107,7 +107,7 @@ int fdt_nop_property(void *fdt, int nodeoffset, const char *name) int len; prop = fdt_get_property_w(fdt, nodeoffset, name, &len); - if (! prop) + if (!prop) return len; _fdt_nop_region(prop, len + sizeof(*prop)); |