diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-06-10 16:26:05 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-12 15:06:48 (GMT) |
commit | b9840124d699614f1429748e43827b1fb35c1138 (patch) | |
tree | 77b8c5b1f1620c342ed23554becb2fe776bf710a /sound/soc | |
parent | 77845b11a35f293a344fe868852e8c61498ae777 (diff) | |
download | linux-b9840124d699614f1429748e43827b1fb35c1138.tar.xz |
ASoC: imx-sgtl5000: Use devm_clk_get()
Commit 9e13f345 (ASoC: sgtl5000: Let the codec acquire its clock) removed the
clk_put calls.
Let's use devm_clk_get() instead, so that we do not need to call them anymore.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/fsl/imx-sgtl5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c index 823151b..7a8bc12 100644 --- a/sound/soc/fsl/imx-sgtl5000.c +++ b/sound/soc/fsl/imx-sgtl5000.c @@ -128,7 +128,7 @@ static int imx_sgtl5000_probe(struct platform_device *pdev) goto fail; } - data->codec_clk = clk_get(&codec_dev->dev, NULL); + data->codec_clk = devm_clk_get(&codec_dev->dev, NULL); if (IS_ERR(data->codec_clk)) goto fail; |