aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-cm-t35.c
diff options
context:
space:
mode:
authorSenthilvadivu Guruswamy <svadivu@ti.com>2011-01-24 01:21:53 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-02-23 02:33:07 -0500
commit1dde9732d543f30d4297e8b74329c5ce797b5d16 (patch)
tree719abb0920d292ddae8680e6161ec078b8581c5b /arch/arm/mach-omap2/board-cm-t35.c
parente04d9e1e4825cb3f6cfc238d7357ef084952eab1 (diff)
OMAP2, 3: DSS2: Use Regulator init with driver name
Use driver name in regulator inits needed for display instead of using device structure name. Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Senthilvadivu Guruswamy <svadivu@ti.com> Signed-off-by: Sumit Semwal <sumit.semwal@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index 9e4de92a5798..d650b7f8078b 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -495,15 +495,11 @@ static struct regulator_consumer_supply cm_t35_vsim_supply = {
495 .supply = "vmmc_aux", 495 .supply = "vmmc_aux",
496}; 496};
497 497
498static struct regulator_consumer_supply cm_t35_vdac_supply = { 498static struct regulator_consumer_supply cm_t35_vdac_supply =
499 .supply = "vdda_dac", 499 REGULATOR_SUPPLY("vdda_dac", "omapdss");
500 .dev = &cm_t35_dss_device.dev,
501};
502 500
503static struct regulator_consumer_supply cm_t35_vdvi_supply = { 501static struct regulator_consumer_supply cm_t35_vdvi_supply =
504 .supply = "vdvi", 502 REGULATOR_SUPPLY("vdvi", "omapdss");
505 .dev = &cm_t35_dss_device.dev,
506};
507 503
508/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ 504/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */
509static struct regulator_init_data cm_t35_vmmc1 = { 505static struct regulator_init_data cm_t35_vmmc1 = {