mmc: dw_mmc: use devres functions in dw_mmc
authorSeungwon Jeon <tgih.jun@samsung.com>
Wed, 28 Nov 2012 10:26:03 +0000 (19:26 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 6 Dec 2012 18:55:10 +0000 (13:55 -0500)
commit780f22af85991be4f7c51c512726eee931707fff
tree14a8eaa37d105db14909b2de69b9ceb981acb18e
parent047a9ce790077193e43acccedba0e2294cf4c89d
mmc: dw_mmc: use devres functions in dw_mmc

Use managed device resource functions for easy handling.
This makes driver simpler in the routine of error and exit.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c