diff options
author | Senthilvadivu Guruswamy <svadivu@ti.com> | 2011-01-24 01:21:53 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-02-23 02:33:07 -0500 |
commit | 1dde9732d543f30d4297e8b74329c5ce797b5d16 (patch) | |
tree | 719abb0920d292ddae8680e6161ec078b8581c5b /arch/arm/mach-omap2/board-omap3stalker.c | |
parent | e04d9e1e4825cb3f6cfc238d7357ef084952eab1 (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-omap3stalker.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3stalker.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index 5d1ccef69164..9c63c37b500e 100644 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ b/arch/arm/mach-omap2/board-omap3stalker.c | |||
@@ -448,10 +448,8 @@ static struct twl4030_codec_data omap3stalker_codec_data = { | |||
448 | .audio = &omap3stalker_audio_data, | 448 | .audio = &omap3stalker_audio_data, |
449 | }; | 449 | }; |
450 | 450 | ||
451 | static struct regulator_consumer_supply omap3_stalker_vdda_dac_supply = { | 451 | static struct regulator_consumer_supply omap3_stalker_vdda_dac_supply = |
452 | .supply = "vdda_dac", | 452 | REGULATOR_SUPPLY("vdda_dac", "omapdss"); |
453 | .dev = &omap3_stalker_dss_device.dev, | ||
454 | }; | ||
455 | 453 | ||
456 | /* VDAC for DSS driving S-Video */ | 454 | /* VDAC for DSS driving S-Video */ |
457 | static struct regulator_init_data omap3_stalker_vdac = { | 455 | static struct regulator_init_data omap3_stalker_vdac = { |
@@ -469,10 +467,8 @@ static struct regulator_init_data omap3_stalker_vdac = { | |||
469 | }; | 467 | }; |
470 | 468 | ||
471 | /* VPLL2 for digital video outputs */ | 469 | /* VPLL2 for digital video outputs */ |
472 | static struct regulator_consumer_supply omap3_stalker_vpll2_supply = { | 470 | static struct regulator_consumer_supply omap3_stalker_vpll2_supply = |
473 | .supply = "vdds_dsi", | 471 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"); |
474 | .dev = &omap3_stalker_lcd_device.dev, | ||
475 | }; | ||
476 | 472 | ||
477 | static struct regulator_init_data omap3_stalker_vpll2 = { | 473 | static struct regulator_init_data omap3_stalker_vpll2 = { |
478 | .constraints = { | 474 | .constraints = { |