mmc: mxs-mmc: use devm_* helper to make cleanup simpler
commitdf06bfc724b58d649eef4bf51a953c7aeed9635f
authorShawn Guo <shawn.guo@linaro.org>
Sun, 6 May 2012 03:20:40 +0000 (6 11:20 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 13 May 2012 00:05:45 +0000 (13 08:05 +0800)
treeb5b41a6902540546b92c307fa4dc323b6d2b3bea
parent81f38ee8e6a9472193337da248c30963a9741a30
mmc: mxs-mmc: use devm_* helper to make cleanup simpler

Use devm_request_and_ioremap and devm_request_irq helpers to clean up
the code a little bit.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxs-mmc.c