From: Sebastian Andrzej Siewior Date: Tue, 13 Jan 2015 17:46:53 +0000 (+0100) Subject: ARM i.MX6q: unmap memory mapped at imx6q_opp_check_speed_grading() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=23bec1727505de4adf3f0ed228bcb8b1a3d2e551;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM i.MX6q: unmap memory mapped at imx6q_opp_check_speed_grading() imx6q_opp_check_speed_grading() remaps memory to the base variable and never unmaps it. I can't see how this can be of any use later so here I unmap it. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 5057d61298b7..4ad6e473cf83 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -329,7 +329,7 @@ static void __init imx6q_opp_check_speed_grading(struct device *cpu_dev) if (dev_pm_opp_disable(cpu_dev, 852000000)) pr_warn("failed to disable 852 MHz OPP\n"); } - + iounmap(base); put_node: of_node_put(np); }