diff options
author | 2013-08-27 12:41:16 +0800 | |
---|---|---|
committer | 2013-08-28 14:17:44 +0200 | |
commit | a8a364bd27cc35c0c879ba4164c4757fa634a58d (patch) | |
tree | e385aece1350d1198a0ba1123f15a4fc42651727 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pinctrl: Pass all configs to driver on pin_config_set() (diff) | |
download | linux-dev-a8a364bd27cc35c0c879ba4164c4757fa634a58d.tar.xz linux-dev-a8a364bd27cc35c0c879ba4164c4757fa634a58d.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions