ASoC: codecs: msm8916-wcd-digital: rename parse_dt to get_clks
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 4 Nov 2016 14:45:40 +0000 (14:45 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2016 16:19:01 +0000 (10:19 -0600)
This patch renames msm8916_wcd_digital_parse_dt() to
msm8916_wcd_digital_get_clks() as the function is not directly dealing
with dt parsing.

No functional changes done.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/msm8916-wcd-digital.c

index e35501af91ab76d64c72cfb4bdca605208d442e8..f690442af8c9409d21a6558ec910e672a6c8b4cb 100644 (file)
@@ -539,7 +539,7 @@ static const struct snd_soc_dapm_widget msm8916_wcd_digital_dapm_widgets[] = {
 
 };
 
-static int msm8916_wcd_digital_parse_dt(struct platform_device *pdev,
+static int msm8916_wcd_digital_get_clks(struct platform_device *pdev,
                                        struct msm8916_wcd_digital_priv *priv)
 {
        struct device *dev = &pdev->dev;
@@ -866,7 +866,7 @@ static int msm8916_wcd_digital_probe(struct platform_device *pdev)
        if (IS_ERR(digital_map))
                return PTR_ERR(digital_map);
 
-       ret = msm8916_wcd_digital_parse_dt(pdev, priv);
+       ret = msm8916_wcd_digital_get_clks(pdev, priv);
        if (ret < 0)
                return ret;