public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake
@ 2015-02-28 20:14 Colin King
  2015-02-28 21:25 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2015-02-28 20:14 UTC (permalink / raw)
  To: Dan Williams, dmaengine; +Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/dma/s3c24xx-dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c
index 2f91da3..4eae6d5 100644
--- a/drivers/dma/s3c24xx-dma.c
+++ b/drivers/dma/s3c24xx-dma.c
@@ -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;
 			}
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake
  2015-02-28 20:14 [PATCH] dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake Colin King
@ 2015-02-28 21:25 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2015-02-28 21:25 UTC (permalink / raw)
  To: Colin King; +Cc: Dan Williams, dmaengine, linux-kernel

On Sat, 2015-02-28 at 20:14 +0000, Colin King wrote:
> Fix spelling mistake, "aquire" -> "acquire"

trivia:

> diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c
[]
> @@ -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",

>  					i, PTR_ERR(phy->clk));
>  				continue;
>  			}




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-28 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 20:14 [PATCH] dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake Colin King
2015-02-28 21:25 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox