mmc: sh-mmcif: use devm_ for clock management
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 4 Jun 2014 11:42:10 +0000 (12:42 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2014 09:26:01 +0000 (11:26 +0200)
commit46991005e1f13e061359335b86d7847562feffde
treed353393dedca99863e5af49249a9e43388617a50
parent18f55fcc9d0e6f40fdc7f81afcbe950da30fbcf9
mmc: sh-mmcif: use devm_ for clock management

Use the devm_clk_get() code to get the clock and allow it to be freed
automatically on release.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c