[PATCH v3] ASoC: doc: Fix bracket

Manuel Ebner posted 1 patch 1 week, 1 day ago
Documentation/sound/soc/dpcm.rst | 1 -
1 file changed, 1 deletion(-)
[PATCH v3] ASoC: doc: Fix bracket
Posted by Manuel Ebner 1 week, 1 day ago
Remove needless '{'.

Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
[v3]
 - removed the change of the placeholder

[v2]
 https://lore.kernel.org/all/20260904120737.758809-2-manuelebnerli@mailbox.org/
 - rearrange lines in diff
 - fix commit message

[v1]
 https://lore.kernel.org/all/20260902150510.706055-2-manuelebnerli@mailbox.org/
---
 Documentation/sound/soc/dpcm.rst | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/sound/soc/dpcm.rst b/Documentation/sound/soc/dpcm.rst
index 7b6aeab3c..3ff13fa4c 100644
--- a/Documentation/sound/soc/dpcm.rst
+++ b/Documentation/sound/soc/dpcm.rst
@@ -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",
-- 
2.55.0
Re: [PATCH v3] ASoC: doc: Fix bracket
Posted by Randy Dunlap 1 week, 1 day ago

On 9/16/26 4:35 AM, Manuel Ebner wrote:
> Remove needless '{'.
> 
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> ---
> [v3]
>  - removed the change of the placeholder
> 
> [v2]
>  https://lore.kernel.org/all/20260904120737.758809-2-manuelebnerli@mailbox.org/
>  - rearrange lines in diff
>  - fix commit message
> 
> [v1]
>  https://lore.kernel.org/all/20260902150510.706055-2-manuelebnerli@mailbox.org/
> ---
>  Documentation/sound/soc/dpcm.rst | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/sound/soc/dpcm.rst b/Documentation/sound/soc/dpcm.rst
> index 7b6aeab3c..3ff13fa4c 100644
> --- a/Documentation/sound/soc/dpcm.rst
> +++ b/Documentation/sound/soc/dpcm.rst
> @@ -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 '{'.

-- 
~Randy