Skip to contentSkip to conversation

dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake

PATCH Superseded Colin King 2 participants 2 messages Feb 28, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake

From: Colin Ian King <[email protected]>

Fix spelling mistake, "aquire" -> "acquire"

---
 drivers/dma/s3c24xx-dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma/s3c24xx-dma.c +2 -2
index 2f91da3..4eae6d5 100644
@@ -1238,7 +1238,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
 	if (!s3cdma->phy_chans)
 		return -ENOMEM;
 
-	/* aquire irqs and clocks for all physical channels */
+	/* acquire irqs and clocks for all physical channels */
 	for (i = 0; i < pdata->num_phy_channels; i++) {
 		struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i];
 		char clk_name[6];
@@ -1266,7 +1266,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
 			sprintf(clk_name, "dma.%d", i);
 			phy->clk = devm_clk_get(&pdev->dev, clk_name);
 			if (IS_ERR(phy->clk) && sdata->has_clocks) {
-				dev_err(&pdev->dev, "unable to aquire clock for channel %d, error %lu",
+				dev_err(&pdev->dev, "unable to acquire clock for channel %d, error %lu",
 					i, PTR_ERR(phy->clk));
 				continue;
 			}
Signature · 1 line
2.1.4
#1 lore raw
Quoted 1 line · Colin King

Fix spelling mistake, "aquire" -> "acquire"

trivia:

drivers/dma/s3c24xx-dma.c

Quoted 1 line
drivers/dma/s3c24xx-dma.c +0 -0

[]

drivers/dma/s3c24xx-dma.c static int s3c24xx_dma_probe(struct platform_device *pdev) · line 1269

Quoted 6 lines
drivers/dma/s3c24xx-dma.c +1 -1
@@ -1266,7 +1266,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
 			sprintf(clk_name, "dma.%d", i);
 			phy->clk = devm_clk_get(&pdev->dev, clk_name);
 			if (IS_ERR(phy->clk) && sdata->has_clocks) {
-				dev_err(&pdev->dev, "unable to aquire clock for channel %d, error %lu",
+				dev_err(&pdev->dev, "unable to acquire clock for channel %d, error %lu",

Be nice to add the missing terminating newline '\n' too

				dev_err(&pdev->dev, "unable to acquire clock for channel %d, error %lu\n",
Quoted 3 lines
drivers/dma/s3c24xx-dma.c +0 -0
 					i, PTR_ERR(phy->clk));
 				continue;
 			}