aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2015-02-28 17:25:06 -0500
committerVinod Koul <vinod.koul@intel.com>2015-03-02 11:48:57 -0500
commitee655c2968a0d224484c91f07456d3a213463af6 (patch)
tree1641e52d314ba6b4cf64b6c640304894a6798ef5
parent81ceefa49e26069d05f2c3350930d2896de0baeb (diff)
dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake
Fix spelling mistake, "aquire" -> "acquire" and missing newline (as spotted by Joe Perches. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/s3c24xx-dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c
index 2f91da3db836..110a0cdcc60a 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)
1238 if (!s3cdma->phy_chans) 1238 if (!s3cdma->phy_chans)
1239 return -ENOMEM; 1239 return -ENOMEM;
1240 1240
1241 /* aquire irqs and clocks for all physical channels */ 1241 /* acquire irqs and clocks for all physical channels */
1242 for (i = 0; i < pdata->num_phy_channels; i++) { 1242 for (i = 0; i < pdata->num_phy_channels; i++) {
1243 struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i]; 1243 struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i];
1244 char clk_name[6]; 1244 char clk_name[6];
@@ -1266,7 +1266,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
1266 sprintf(clk_name, "dma.%d", i); 1266 sprintf(clk_name, "dma.%d", i);
1267 phy->clk = devm_clk_get(&pdev->dev, clk_name); 1267 phy->clk = devm_clk_get(&pdev->dev, clk_name);
1268 if (IS_ERR(phy->clk) && sdata->has_clocks) { 1268 if (IS_ERR(phy->clk) && sdata->has_clocks) {
1269 dev_err(&pdev->dev, "unable to aquire clock for channel %d, error %lu", 1269 dev_err(&pdev->dev, "unable to acquire clock for channel %d, error %lu\n",
1270 i, PTR_ERR(phy->clk)); 1270 i, PTR_ERR(phy->clk));
1271 continue; 1271 continue;
1272 } 1272 }