From: Boris BREZILLON Date: Mon, 19 May 2014 08:25:30 +0000 (+0200) Subject: regulator: AXP20x: fix wrong call to of_find_node_by_name X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~28^2~4^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6016c523ef2f86d4ec60b87b480dd1a2c5ae33a;p=pandora-kernel.git regulator: AXP20x: fix wrong call to of_find_node_by_name The of_find_node_by_name function will search for a DT node named "regulators" after the provided np node, but will not ensure that this node is a child of np. This might result in retrieving a "regulators" node that is not related to the axp20x PMIC. Signed-off-by: Boris BREZILLON Acked-by: Carlo Caione Signed-off-by: Mark Brown --- Reading git-diff-tree failed