Commit cdc44472 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: simple-card: rename simple_get_conversion() to simple_parse_convert()

use same naming rule
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a0cb2d43
...@@ -172,7 +172,7 @@ static int simple_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, ...@@ -172,7 +172,7 @@ static int simple_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
return 0; return 0;
} }
static void simple_get_conversion(struct device *dev, static void simple_parse_convert(struct device *dev,
struct device_node *np, struct device_node *np,
struct asoc_simple_card_data *adata) struct asoc_simple_card_data *adata)
{ {
...@@ -295,7 +295,7 @@ static int simple_dai_link_of_dpcm(struct simple_priv *priv, ...@@ -295,7 +295,7 @@ static int simple_dai_link_of_dpcm(struct simple_priv *priv,
"prefix"); "prefix");
} }
simple_get_conversion(dev, np, &dai_props->adata); simple_parse_convert(dev, np, &dai_props->adata);
asoc_simple_card_canonicalize_platform(dai_link); asoc_simple_card_canonicalize_platform(dai_link);
...@@ -471,7 +471,7 @@ static int simple_for_each_link(struct simple_priv *priv, ...@@ -471,7 +471,7 @@ static int simple_for_each_link(struct simple_priv *priv,
/* get convert-xxx property */ /* get convert-xxx property */
memset(&adata, 0, sizeof(adata)); memset(&adata, 0, sizeof(adata));
for_each_child_of_node(node, np) for_each_child_of_node(node, np)
simple_get_conversion(dev, np, &adata); simple_parse_convert(dev, np, &adata);
/* loop for all CPU/Codec node */ /* loop for all CPU/Codec node */
for_each_child_of_node(node, np) { for_each_child_of_node(node, np) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment