[PATCH v4 3/3] pinctrl: mvebu: Convert to use devm_ioremap_resource
Jason Cooper
jason at lakedaemon.net
Mon Aug 26 16:46:05 EDT 2013
On Mon, Aug 26, 2013 at 07:36:58PM +0800, Jisheng Zhang 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>
> ---
> drivers/pinctrl/mvebu/pinctrl-mvebu.c | 11 +++++------
> 1 file changed, 5 insertions(+), 6 deletions(-)
Acked-by: Jason Cooper <jason at lakedaemon.net>
thx,
Jason.
More information about the linux-arm-kernel
mailing list