From: Leif Lindholm Date: Fri, 28 Nov 2014 11:34:28 +0000 (+0000) Subject: of: add optional options parameter to of_find_node_by_path() X-Git-Tag: omap-for-v3.19/fixes-rc1~127^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75c28c09af99a0db0ccd8b4395469761aa736543;p=pandora-kernel.git of: add optional options parameter to of_find_node_by_path() Update of_find_node_by_path(): 1) Rename function to of_find_node_opts_by_path(), adding an optional pointer argument. Provide a static inline wrapper version of of_find_node_by_path() which calls the new function with NULL as the optional argument. 2) Ignore any part of the path beyond and including the ':' separator. 3) Set the new provided pointer argument to the beginning of the string following the ':' separator. 4: Add tests. Signed-off-by: Leif Lindholm Signed-off-by: Grant Likely --- Reading git-diff-tree failed