mmc: sdhci-spear: fix error handling paths for DT
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Feb 2014 21:32:29 +0000 (21:32 +0000)
committerChris Ball <chris@printf.net>
Tue, 4 Mar 2014 21:28:28 +0000 (16:28 -0500)
commit142dbab951fb9d2281e69f8d7522e6b7e0553ec0
tree845531fbf9d0e7be23dff64f1ff072ae1d9ff74c
parent4025ce24f326830135341814307c072f6c2a7738
mmc: sdhci-spear: fix error handling paths for DT

Fix the error handling paths for DT and simplify using the devm_* API
for clk_get().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci-spear.c