From: Jisheng Zhang Date: Tue, 27 Aug 2013 04:41:16 +0000 (+0800) Subject: pinctrl: mvebu: Convert to use devm_ioremap_resource X-Git-Tag: v3.12-rc1~151^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8a364bd27cc35c0c879ba4164c4757fa634a58d;p=pandora-kernel.git 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 Reviewed-by: Ezequiel Garcia Acked-by: Jason Cooper Signed-off-by: Linus Walleij --- Reading git-diff-tree failed