arm: plat-omap: iommu: fix request_mem_region() error path
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Mon, 14 Mar 2011 12:28:32 +0000 (12:28 +0000)
committerTony Lindgren <tony@atomide.com>
Mon, 14 Mar 2011 18:14:34 +0000 (11:14 -0700)
request_mem_region() error exit will leak ioremapped memory. Fix this
by moving the ioremap() after request_mem_region(), which is the proper
order to do this anyway.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found