commit | 1e291b14c8f1101b9093434489bd4dc0e03f3d0f | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Wed Nov 12 18:54:42 2008 +0000 |
committer | Paul Mackerras <paulus@samba.org> | Wed Nov 19 16:05:00 2008 +1100 |
tree | ea602cce082e847d693b021d83f1314e9494c9a9 | |
parent | ae564c63b8311fa73c21e456e00dba1f4b1ff6bc [diff] |
of: Add helpers for finding device nodes which have a given property This commit adds a routine for finding a device node which has a certain property. The contents of the property are not taken into account, merely the presence or absence of the property. Based on that routine, we add a for_each_ macro for iterating over all nodes that have a certain property. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>