public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5/5] Regulator: Renaming the supplies used in MMC driver
@ 2009-11-05 16:39 Anuj Aggarwal
  2009-11-05 21:17 ` Mike Rapoport
  0 siblings, 1 reply; 5+ messages in thread
From: Anuj Aggarwal @ 2009-11-05 16:39 UTC (permalink / raw)
  To: linux-omap; +Cc: broonie, lrg, Anuj Aggarwal

Supply names are renamed from vmmc -> mmc and vmmc_aux -> mmc_aux.
This is done to have simple supply names both in the driver
and in the board-evm file.

Signed-off-by: Anuj Aggarwal <anuj.aggarwal@ti.com>
---
 arch/arm/mach-omap2/mmc-twl4030.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-omap2/mmc-twl4030.c b/arch/arm/mach-omap2/mmc-twl4030.c
index 3403914..af3b1be 100644
--- a/arch/arm/mach-omap2/mmc-twl4030.c
+++ b/arch/arm/mach-omap2/mmc-twl4030.c
@@ -109,9 +109,9 @@ static int twl_mmc_late_init(struct device *dev)
 
 			hsmmc[i].mmc = mmc;
 
-			reg = regulator_get(dev, "vmmc");
+			reg = regulator_get(dev, "mmc");
 			if (IS_ERR(reg)) {
-				dev_dbg(dev, "vmmc regulator missing\n");
+				dev_dbg(dev, "mmc regulator missing\n");
 				/* HACK: until fixed.c regulator is usable,
 				 * we don't require a main regulator
 				 * for MMC2 or MMC3
@@ -126,7 +126,7 @@ static int twl_mmc_late_init(struct device *dev)
 			mmc->slots[0].ocr_mask = mmc_regulator_get_ocrmask(reg);
 
 			/* allow an aux regulator */
-			reg = regulator_get(dev, "vmmc_aux");
+			reg = regulator_get(dev, "mmc_aux");
 			hsmmc[i].vcc_aux = IS_ERR(reg) ? NULL : reg;
 
 			/* UGLY HACK:  workaround regulator framework bugs.
-- 
1.6.2.4


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

end of thread, other threads:[~2009-11-06 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-05 16:39 [PATCH 5/5] Regulator: Renaming the supplies used in MMC driver Anuj Aggarwal
2009-11-05 21:17 ` Mike Rapoport
2009-11-06  5:51   ` Aggarwal, Anuj
2009-11-06 14:28     ` Mike Rapoport
2009-11-06 15:12     ` Mark Brown

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