Skip to content

Commit

Permalink
ASoC: codecs: msm8916-wcd-digital: rename parse_dt to get_clks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Srinivas Kandagatla authored and Mark Brown committed Nov 4, 2016
1 parent 4323ec2 commit ba9b8c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/msm8916-wcd-digital.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit ba9b8c4

Please sign in to comment.