[PATCH v5 3/3] pinctrl: mvebu: Convert to use devm_ioremap_resource

Linus Walleij linus.walleij at linaro.org
Wed Aug 28 08:18:07 EDT 2013


On Tue, Aug 27, 2013 at 6:41 AM, Jisheng Zhang <jszhang at marvell.com> wrote:

> The resource mapped by of_iomap() isn't unmapped in error path. This
> patch fix the resource leakage by using devm_ioremap_resource() instead
> of of_iomap().
>
> Signed-off-by: Jisheng Zhang <jszhang at marvell.com>
> Reviewed-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
> Acked-by: Jason Cooper <jason at lakedaemon.net>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list