diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2013-08-27 12:41:16 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-28 14:17:44 +0200 |
commit | a8a364bd27cc35c0c879ba4164c4757fa634a58d (patch) | |
tree | e385aece1350d1198a0ba1123f15a4fc42651727 /arch/x86/lib/atomic64_cx8_32.S | |
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>
Diffstat (limited to 'arch/x86/lib/atomic64_cx8_32.S')
0 files changed, 0 insertions, 0 deletions