diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-04 09:14:13 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-04 11:49:11 +0200 |
commit | 695594f1b79d3b88e99e28f06afaab32c4d65853 (patch) | |
tree | 7dc4a4bddf81fb5652d3d9e56b9b5311bc0e18f6 /sound/soc/soc-dapm.c | |
parent | ASoC: wm8350: Convert to direct regmap API usage (diff) | |
download | linux-695594f1b79d3b88e99e28f06afaab32c4d65853.tar.xz linux-695594f1b79d3b88e99e28f06afaab32c4d65853.zip |
ASoC: dapm: Use devm_clk_get()
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 3bb7a6f058d0..a66379accec9 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -2902,7 +2902,7 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, } break; case snd_soc_dapm_clock_supply: - w->clk = clk_get(dapm->dev, w->name); + w->clk = devm_clk_get(dapm->dev, w->name); if (IS_ERR(w->clk)) { ret = PTR_ERR(w->clk); dev_err(dapm->dev, "Failed to request %s: %d\n", |