mmc: mxs-mmc: Use devm_clk_get()
authorFabio Estevam <festevam@gmail.com>
Wed, 3 Jul 2013 20:02:37 +0000 (17:02 -0300)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 02:06:51 +0000 (22:06 -0400)
commita5adbffda8d88a9e96c579b337b12cc8a6863575
tree346f7d851ac98146f09181cfc7d66c394de70917
parent3e7e8c18a15102c3042206c067356e6c39961725
mmc: mxs-mmc: Use devm_clk_get()

Using devm_clk_get() allows us to remove the clk_put() calls, so
let's use it to simplify the code.

Rename the 'out_clk_put' label to 'out_clk_disable' now that clk_put
is removed.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxs-mmc.c