diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-03-18 13:50:08 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-18 14:44:34 +0000 |
commit | cdc444721b0eea6817d1003add2f99414dc8028d (patch) | |
tree | 770e390f061d3edbbf7d85c01b765c39f84ec154 /sound/soc/generic | |
parent | a0cb2d4357e483b7bca3c06f790d8f5d4cc20d84 (diff) | |
download | linux-cdc444721b0eea6817d1003add2f99414dc8028d.tar.bz2 |
ASoC: simple-card: rename simple_get_conversion() to simple_parse_convert()
use same naming rule
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r-- | sound/soc/generic/simple-card.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 7147bba45a2a..5238c912cecd 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -172,9 +172,9 @@ static int simple_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, return 0; } -static void simple_get_conversion(struct device *dev, - struct device_node *np, - struct asoc_simple_card_data *adata) +static void simple_parse_convert(struct device *dev, + struct device_node *np, + struct asoc_simple_card_data *adata) { struct device_node *top = dev->of_node; struct device_node *node = of_get_parent(np); @@ -295,7 +295,7 @@ static int simple_dai_link_of_dpcm(struct simple_priv *priv, "prefix"); } - simple_get_conversion(dev, np, &dai_props->adata); + simple_parse_convert(dev, np, &dai_props->adata); asoc_simple_card_canonicalize_platform(dai_link); @@ -471,7 +471,7 @@ static int simple_for_each_link(struct simple_priv *priv, /* get convert-xxx property */ memset(&adata, 0, sizeof(adata)); 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 */ for_each_child_of_node(node, np) { |