projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: mxs: Use of_property_present() for testing DT property presence
[linux-2.6-microblaze.git]
/
arch
/
arm
/
mach-mxs
/
mach-mxs.c
diff --git
a/arch/arm/mach-mxs/mach-mxs.c
b/arch/arm/mach-mxs/mach-mxs.c
index
0129b7c
..
51e4705
100644
(file)
--- a/
arch/arm/mach-mxs/mach-mxs.c
+++ b/
arch/arm/mach-mxs/mach-mxs.c
@@
-174,7
+174,7
@@
static void __init update_fec_mac_prop(enum mac_oui oui)
from = np;
- if (of_
get_property(np, "local-mac-address", NULL
))
+ if (of_
property_present(np, "local-mac-address"
))
continue;
newmac = kzalloc(sizeof(*newmac) + 6, GFP_KERNEL);