Skip to content

Commit fbd0911

Browse files
morimotobroonie
authored andcommitted
ASoC: soc-dapm: use component instead of cmpnt
Use normal "component" instead of short "cmpnt" Signed-off-by: Kuninori Morimoto <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent f02ccc8 commit fbd0911

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sound/soc/soc-dapm.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,21 +2628,21 @@ int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm,
26282628
}
26292629
EXPORT_SYMBOL_GPL(snd_soc_dapm_mixer_update_power);
26302630

2631-
static ssize_t dapm_widget_show_component(struct snd_soc_component *cmpnt,
2631+
static ssize_t dapm_widget_show_component(struct snd_soc_component *component,
26322632
char *buf, int count)
26332633
{
2634-
struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt);
2634+
struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component);
26352635
struct snd_soc_dapm_widget *w;
26362636
char *state = "not set";
26372637

26382638
/* card won't be set for the dummy component, as a spot fix
26392639
* we're checking for that case specifically here but in future
26402640
* we will ensure that the dummy component looks like others.
26412641
*/
2642-
if (!cmpnt->card)
2642+
if (!component->card)
26432643
return 0;
26442644

2645-
for_each_card_widgets(cmpnt->card, w) {
2645+
for_each_card_widgets(component->card, w) {
26462646
if (w->dapm != dapm)
26472647
continue;
26482648

@@ -2703,9 +2703,9 @@ static ssize_t dapm_widget_show(struct device *dev,
27032703
snd_soc_dapm_mutex_lock_root(rtd->card);
27042704

27052705
for_each_rtd_codec_dais(rtd, i, codec_dai) {
2706-
struct snd_soc_component *cmpnt = codec_dai->component;
2706+
struct snd_soc_component *component = codec_dai->component;
27072707

2708-
count = dapm_widget_show_component(cmpnt, buf, count);
2708+
count = dapm_widget_show_component(component, buf, count);
27092709
}
27102710

27112711
snd_soc_dapm_mutex_unlock(rtd->card);

0 commit comments

Comments
 (0)