Skip to contentSkip to conversation

ASoC: doc: Fix bracket

PATCH Superseded Manuel Ebner 2 participants 2 messages Sep 16

Subsystems (3)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 ASoC: doc: Fix bracket

Remove needless '{'.

---
[v3]
- removed the change of the placeholder

[v2]
https://lore.kernel.org/all/[email protected]/
- rearrange lines in diff
- fix commit message

[v1]
https://lore.kernel.org/all/[email protected]/

---
 Documentation/sound/soc/dpcm.rst | 1 -
 1 file changed, 1 deletion(-)
Documentation/sound/soc/dpcm.rst +0 -1
index 7b6aeab3c..3ff13fa4c 100644
@@ -358,7 +358,6 @@ The machine driver sets some additional parameters to the DAI link i.e.
 
   static struct snd_soc_dai_link dais[] = {
 	< ... more DAI links above ... >
-	{
 		.name = "MODEM",
 		.stream_name = "MODEM",
 		.cpu_dai_name = "dai2",
Signature · 1 line
2.55.0
reviewer
#1 lore raw
Quoted 23 lines · Manuel Ebner

Remove needless '{'.

---
[v3]
- removed the change of the placeholder

[v2]
https://lore.kernel.org/all/[email protected]/
- rearrange lines in diff
- fix commit message

[v1]
https://lore.kernel.org/all/[email protected]/

---
 Documentation/sound/soc/dpcm.rst | 1 -
 1 file changed, 1 deletion(-)
Documentation/sound/soc/dpcm.rst +0 -0
index 7b6aeab3c..3ff13fa4c 100644

Documentation/sound/soc/dpcm.rst The machine driver sets some additional parameters to the DAI link i.e. · line 363

Quoted 7 lines
Documentation/sound/soc/dpcm.rst +0 -1
@@ -358,7 +358,6 @@ The machine driver sets some additional parameters to the DAI link i.e.
 
   static struct snd_soc_dai_link dais[] = {
 	< ... more DAI links above ... >
-	{
 		.name = "MODEM",
 		.stream_name = "MODEM",
 		.cpu_dai_name = "dai2",

Looks to me like the struct needs a closing "};" instead of dropping the '{'.

Signature · 1 line
~Randy