mmc: omap: Convert to devm_ioremap_resource
authorJarkko Nikula <jarkko.nikula@bitmer.com>
Sat, 22 Feb 2014 16:01:41 +0000 (18:01 +0200)
committerChris Ball <chris@printf.net>
Sat, 22 Feb 2014 18:17:31 +0000 (13:17 -0500)
commit64ac16ec80bc5aacdc2549226f2c0d48d185123c
tree0612c783f0065459defe8a629d3eb5bdfcf00a80
parent2ca5dc6ffa3d9fefadfff0fee77e1ad52e2c0b72
mmc: omap: Convert to devm_ioremap_resource

Simplify probe and cleanup code by using devm_ioremap_resource. This also
makes probe code to follow more common allocate private struct followed by
other initialization style.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/omap.c