From: Michael Ellerman Date: Wed, 12 Nov 2008 18:54:42 +0000 (+0000) Subject: of: Add helpers for finding device nodes which have a given property X-Git-Tag: v2.6.29-rc1~574^2~113 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e291b14c8f1101b9093434489bd4dc0e03f3d0f;p=pandora-kernel.git 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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed