summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-12-03 22:09:33 -0800
committerMark Brown <broonie@linaro.org>2013-12-04 11:50:04 +0000
commit60dbb4f17417777fc56cc909c3e89f4d338e8ca8 (patch)
treef42c8914f75457f6b09fb1489ec041e61c56ce14 /sound/soc/sh
parent507d466c733e28d132a7be87040a3da126df7947 (diff)
downloadblackbird-op-linux-60dbb4f17417777fc56cc909c3e89f4d338e8ca8.tar.gz
blackbird-op-linux-60dbb4f17417777fc56cc909c3e89f4d338e8ca8.zip
ASoC: rcar: use devm_clk_get() instead of clk_get()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r--sound/soc/sh/rcar/ssi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index 477465f9507b..82b04c6f352d 100644
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -652,7 +652,7 @@ int rsnd_ssi_probe(struct platform_device *pdev,
snprintf(name, RSND_SSI_NAME_SIZE, "ssi.%d", i);
- clk = clk_get(dev, name);
+ clk = devm_clk_get(dev, name);
if (IS_ERR(clk))
return PTR_ERR(clk);
@@ -713,7 +713,6 @@ void rsnd_ssi_remove(struct platform_device *pdev,
int i;
for_each_rsnd_ssi(ssi, priv, i) {
- clk_put(ssi->clk);
if (rsnd_ssi_dma_available(ssi))
rsnd_dma_quit(priv, rsnd_mod_to_dma(&ssi->mod));
}
OpenPOWER on IntegriCloud