Re: [PATCH V2 2/2] pinctrl: pinctrl-imx: free if of_get_parent failsto get the parent node

From: Linus Walleij
Date: Tue Jun 12 2012 - 07:02:59 EST


On Thu, Jun 7, 2012 at 6:49 PM, Devendra Naga <devendra.aaru@xxxxxxxxx> wrote:

> of_get_parent can return null if no parent node found, so the allocated new_map
> should be freed.
>
> Signed-off-by: Devendra Naga <devendra.aaru@xxxxxxxxx>
> Acked-by: Dong Aisheng <dong.aisheng@xxxxxxxxxx>

Applied this v2 version, thanks!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/