[linux-sunxi] [PATCH] regulator: AXP20x: fix wrong call to of_find_node_by_name

Carlo Caione carlo at caione.org
Mon May 19 01:36:50 PDT 2014


On Mon, May 19, 2014 at 10:25 AM, Boris BREZILLON
<boris.brezillon at free-electrons.com> wrote:
> 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 <boris.brezillon at free-electrons.com>
> ---

Acked-by: Carlo Caione <carlo at caione.org>

Thank you,

-- 
Carlo Caione



More information about the linux-arm-kernel mailing list