mmc: mxcmmc: Convert to devm-* API
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 22 Mar 2014 08:52:45 +0000 (12:52 +0400)
committerChris Ball <chris@printf.net>
Mon, 12 May 2014 22:04:31 +0000 (18:04 -0400)
commit01e4f9585350a15faf1bdd185d80ec6160217d35
tree2b12595de01f75fc2d69aaa678d59ade08ef4dbf
parent15a2e2ab62f1f1d8b43ae43670de7bc2b21f7f86
mmc: mxcmmc: Convert to devm-* API

Replace existing resource handling in the driver with managed
device resource, this ensures more consistent error values and
simplifies error paths.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/mxcmmc.c