Skip to contentSkip to conversation

ASoC: amd: acp3x: clean up an indentation issue

PATCH In review Colin King 2 participants 3 messages Sep 27, 2019

Subsystems (4)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 ASoC: amd: acp3x: clean up an indentation issue

From: Colin Ian King <[email protected]>

There is a return statement that is indented too deeply, remove the extraneous tab.

---
 sound/soc/amd/raven/acp3x-pcm-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/amd/raven/acp3x-pcm-dma.c +1 -1
index bc4dfafdfcd1..ea57088d50ce 100644
@@ -631,7 +631,7 @@ static int acp3x_audio_probe(struct platform_device *pdev)
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!res) {
 		dev_err(&pdev->dev, "IORESOURCE_IRQ FAILED\n");
-			return -ENODEV;
+		return -ENODEV;
 	}
 
 	adata = devm_kzalloc(&pdev->dev, sizeof(*adata), GFP_KERNEL);
Signature · 1 line
2.20.1
#1 lore raw
Quoted 16 lines · Colin King

From: Colin Ian King <[email protected]>

There is a return statement that is indented too deeply, remove the extraneous tab.

---
 sound/soc/amd/raven/acp3x-pcm-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/amd/raven/acp3x-pcm-dma.c +0 -0
index bc4dfafdfcd1..ea57088d50ce 100644

sound/soc/amd/raven/acp3x-pcm-dma.c static int acp3x_audio_probe(struct platform_device *pdev) · line 637

Quoted 8 lines
sound/soc/amd/raven/acp3x-pcm-dma.c +1 -1
@@ -631,7 +631,7 @@ static int acp3x_audio_probe(struct platform_device *pdev)
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!res) {
 		dev_err(&pdev->dev, "IORESOURCE_IRQ FAILED\n");
-			return -ENODEV;
+		return -ENODEV;
 	}
 
 	adata = devm_kzalloc(&pdev->dev, sizeof(*adata), GFP_KERNEL);

Oops, I've sent this fix before. ignore. apologies.

#2 lore raw
Quoted 23 lines · Colin Ian King
Quoted 22 lines · Colin King

From: Colin Ian King <[email protected]>

There is a return statement that is indented too deeply, remove the extraneous tab.

---
 sound/soc/amd/raven/acp3x-pcm-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/amd/raven/acp3x-pcm-dma.c +1 -1
index bc4dfafdfcd1..ea57088d50ce 100644
@@ -631,7 +631,7 @@ static int acp3x_audio_probe(struct platform_device *pdev)
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!res) {
 		dev_err(&pdev->dev, "IORESOURCE_IRQ FAILED\n");
-			return -ENODEV;
+		return -ENODEV;
 	}
 
Quoted 3 lines

sound/soc/amd/raven/acp3x-pcm-dma.c static int acp3x_audio_probe(struct platform_device *pdev) · line 637

Quoted 2 lines
sound/soc/amd/raven/acp3x-pcm-dma.c +0 -0
 	adata = devm_kzalloc(&pdev->dev, sizeof(*adata), GFP_KERNEL);

Oops, I've sent this fix before. ignore. apologies.

Haha. I used to do this all the time. Now my QC script searches my outbox. I still send duplicates sometimes if I'm travelling and forget to copy my outbox over.

regards,
dan carpenter