ASoC: soc-core: rename snd_soc_rtdcom_add() to snd_soc_rtd_add_component()
PATCH 1/1 ASoC: soc-core: rename snd_soc_rtdcom_add() to snd_soc_rtd_add_component()
From: Kuninori Morimoto <[email protected]>
We don't have snd_soc_rtdcom_list anymore. Let's rename snd_soc_rtdcom_add() to more understandable snd_soc_rtd_add_component()
Signed-off-by Kuninori Morimoto <[email protected]>
---
This is based on my previous soc-core cleanup patch-set.
sound/soc/soc-core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
sound/soc/soc-core.c +5 -5
@@ -257,8 +257,8 @@ static inline void snd_soc_debugfs_exit(void)#endif -static int snd_soc_rtdcom_add (struct snd_soc_pcm_runtime *rtd, -struct snd_soc_component *component) +static int snd_soc_rtd_add_component (struct snd_soc_pcm_runtime *rtd, +struct snd_soc_component *component) {struct snd_soc_component *comp;int i;
@@ -1010,7 +1010,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card, cpu->dai_name); goto _err_defer; } -snd_soc_rtdcom_add (rtd,asoc_cpu_dai (rtd, i)->component); +snd_soc_rtd_add_component (rtd,asoc_cpu_dai (rtd, i)->component); }/* Find CODEC from registered CODECs */
@@ -1022,7 +1022,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card, goto _err_defer; } -snd_soc_rtdcom_add (rtd,asoc_codec_dai (rtd, i)->component); +snd_soc_rtd_add_component (rtd,asoc_codec_dai (rtd, i)->component); }/* Find PLATFORM from registered PLATFORMs */
@@ -1031,7 +1031,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card,if (!snd_soc_is_matching_component (platform, component))continue ; -snd_soc_rtdcom_add (rtd, component); +snd_soc_rtd_add_component (rtd, component); } }
Signature · 6 lines
2.7.4 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel