2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00

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>
This commit is contained in:
Srinivas Kandagatla 2016-11-04 14:45:40 +00:00 committed by Mark Brown
parent 4323ec250c
commit ba9b8c42cf

View 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;