aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/omap2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/onenand/omap2.c')
-rw-r--r--drivers/mtd/onenand/omap2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
index f591f615d3f6..1fcb41adab07 100644
--- a/drivers/mtd/onenand/omap2.c
+++ b/drivers/mtd/onenand/omap2.c
@@ -608,7 +608,7 @@ static int omap2_onenand_enable(struct mtd_info *mtd)
608 608
609 ret = regulator_enable(c->regulator); 609 ret = regulator_enable(c->regulator);
610 if (ret != 0) 610 if (ret != 0)
611 dev_err(&c->pdev->dev, "cant enable regulator\n"); 611 dev_err(&c->pdev->dev, "can't enable regulator\n");
612 612
613 return ret; 613 return ret;
614} 614}
@@ -620,7 +620,7 @@ static int omap2_onenand_disable(struct mtd_info *mtd)
620 620
621 ret = regulator_disable(c->regulator); 621 ret = regulator_disable(c->regulator);
622 if (ret != 0) 622 if (ret != 0)
623 dev_err(&c->pdev->dev, "cant disable regulator\n"); 623 dev_err(&c->pdev->dev, "can't disable regulator\n");
624 624
625 return ret; 625 return ret;
626} 626}