commit | a8a364bd27cc35c0c879ba4164c4757fa634a58d | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <jszhang@marvell.com> | Tue Aug 27 12:41:16 2013 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Aug 28 14:17:44 2013 +0200 |
tree | e385aece1350d1198a0ba1123f15a4fc42651727 | |
parent | 03b054e9696c3cbd3d5905ec96da15acd0a2fe8d [diff] |
pinctrl: mvebu: Convert to use devm_ioremap_resource 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@marvell.com> Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>