Skip to content

Commit e79cc43

Browse files
macchianbroonie
authored andcommitted
ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name
The variable name contains duplications;thus, remove the redundant strings. Signed-off-by: Mac Chiang <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent d75d38d commit e79cc43

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

sound/soc/intel/common/soc-acpi-intel-lnl-match.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static const struct snd_soc_acpi_endpoint jack_dmic_endpoints[] = {
137137
},
138138
};
139139

140-
static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints_endpoints[] = {
140+
static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints[] = {
141141
/* Jack Endpoint */
142142
{
143143
.num = 0,
@@ -350,8 +350,8 @@ static const struct snd_soc_acpi_adr_device rt1712_3_single_adr[] = {
350350
static const struct snd_soc_acpi_adr_device rt712_vb_2_group1_adr[] = {
351351
{
352352
.adr = 0x000230025D071201ull,
353-
.num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints_endpoints),
354-
.endpoints = jack_amp_g1_dmic_endpoints_endpoints,
353+
.num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints),
354+
.endpoints = jack_amp_g1_dmic_endpoints,
355355
.name_prefix = "rt712"
356356
}
357357
};

sound/soc/intel/common/soc-acpi-intel-ptl-match.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static const struct snd_soc_acpi_endpoint jack_dmic_endpoints[] = {
138138
},
139139
};
140140

141-
static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints_endpoints[] = {
141+
static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints[] = {
142142
/* Jack Endpoint */
143143
{
144144
.num = 0,
@@ -288,17 +288,17 @@ static const struct snd_soc_acpi_adr_device rt711_sdca_0_adr[] = {
288288
static const struct snd_soc_acpi_adr_device rt712_vb_2_group1_adr[] = {
289289
{
290290
.adr = 0x000230025D071201ull,
291-
.num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints_endpoints),
292-
.endpoints = jack_amp_g1_dmic_endpoints_endpoints,
291+
.num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints),
292+
.endpoints = jack_amp_g1_dmic_endpoints,
293293
.name_prefix = "rt712"
294294
}
295295
};
296296

297297
static const struct snd_soc_acpi_adr_device rt712_vb_3_group1_adr[] = {
298298
{
299299
.adr = 0x000330025D071201ull,
300-
.num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints_endpoints),
301-
.endpoints = jack_amp_g1_dmic_endpoints_endpoints,
300+
.num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints),
301+
.endpoints = jack_amp_g1_dmic_endpoints,
302302
.name_prefix = "rt712"
303303
}
304304
};

0 commit comments

Comments
 (0)