summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/msm8916-wcd-digital.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2016-11-04 15:45:40 +0100
committerMark Brown <broonie@kernel.org>2016-11-04 17:19:01 +0100
commitba9b8c42cff5aaf78229260c5622d6b699683e28 (patch)
tree21ce29020d3b38b63677ddd46771dc41fcd477a4 /sound/soc/codecs/msm8916-wcd-digital.c
parentASoC: codecs: msm8916-wcd-analog: clean parse_dt() (diff)
downloadlinux-ba9b8c42cff5aaf78229260c5622d6b699683e28.tar.xz
linux-ba9b8c42cff5aaf78229260c5622d6b699683e28.zip
ASoC: codecs: msm8916-wcd-digital: rename parse_dt to get_clks
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>
Diffstat (limited to 'sound/soc/codecs/msm8916-wcd-digital.c')
-rw-r--r--sound/soc/codecs/msm8916-wcd-digital.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/msm8916-wcd-digital.c b/sound/soc/codecs/msm8916-wcd-digital.c
index e35501af91ab..f690442af8c9 100644
--- a/sound/soc/codecs/msm8916-wcd-digital.c
+++ b/sound/soc/codecs/msm8916-wcd-digital.c
@@ -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;