From: Srinivas Kandagatla Date: Tue, 18 Sep 2012 07:10:28 +0000 (+0100) Subject: dt: introduce of_get_child_by_name to get child node by name X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~25^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c19761a7ecdc86abb2fba0feb81e8952eccc1f1;p=pandora-kernel.git dt: introduce of_get_child_by_name to get child node by name This patch introduces of_get_child_by_name function to get a child node by its name in a given parent node. Without this patch each driver code has to iterate the parent and do a string compare, However having of_get_child_by_name libary function would avoid code duplication, errors and is more convenient. Signed-off-by: Srinivas Kandagatla Signed-off-by: Rob Herring --- Reading git-diff-tree failed