diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 11 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 12 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3stalker.c | 12 |
5 files changed, 15 insertions, 32 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 31085883199..0f680cc4d9f 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
| @@ -315,10 +315,8 @@ static struct platform_device sdp3430_dss_device = { | |||
| 315 | }, | 315 | }, |
| 316 | }; | 316 | }; |
| 317 | 317 | ||
| 318 | static struct regulator_consumer_supply sdp3430_vdda_dac_supply = { | 318 | static struct regulator_consumer_supply sdp3430_vdda_dac_supply = |
| 319 | .supply = "vdda_dac", | 319 | REGULATOR_SUPPLY("vdda_dac", "omapdss"); |
| 320 | .dev = &sdp3430_dss_device.dev, | ||
| 321 | }; | ||
| 322 | 320 | ||
| 323 | static struct platform_device *sdp3430_devices[] __initdata = { | 321 | static struct platform_device *sdp3430_devices[] __initdata = { |
| 324 | &sdp3430_dss_device, | 322 | &sdp3430_dss_device, |
| @@ -545,10 +543,7 @@ static struct regulator_init_data sdp3430_vdac = { | |||
| 545 | 543 | ||
| 546 | /* VPLL2 for digital video outputs */ | 544 | /* VPLL2 for digital video outputs */ |
| 547 | static struct regulator_consumer_supply sdp3430_vpll2_supplies[] = { | 545 | static struct regulator_consumer_supply sdp3430_vpll2_supplies[] = { |
| 548 | { | 546 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"), |
| 549 | .supply = "vdds_dsi", | ||
| 550 | .dev = &sdp3430_dss_device.dev, | ||
| 551 | } | ||
| 552 | }; | 547 | }; |
| 553 | 548 | ||
| 554 | static struct regulator_init_data sdp3430_vpll2 = { | 549 | static struct regulator_init_data sdp3430_vpll2 = { |
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 9e4de92a579..d650b7f8078 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 | ||
| 498 | static struct regulator_consumer_supply cm_t35_vdac_supply = { | 498 | static 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 | ||
| 503 | static struct regulator_consumer_supply cm_t35_vdvi_supply = { | 501 | static 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) */ |
| 509 | static struct regulator_init_data cm_t35_vmmc1 = { | 505 | static struct regulator_init_data cm_t35_vmmc1 = { |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index dd0b1ac3b66..c235fa2a77a 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
| @@ -493,10 +493,8 @@ static struct platform_device igep2_dss_device = { | |||
| 493 | }, | 493 | }, |
| 494 | }; | 494 | }; |
| 495 | 495 | ||
| 496 | static struct regulator_consumer_supply igep2_vpll2_supply = { | 496 | static struct regulator_consumer_supply igep2_vpll2_supply = |
| 497 | .supply = "vdds_dsi", | 497 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"); |
| 498 | .dev = &igep2_dss_device.dev, | ||
| 499 | }; | ||
| 500 | 498 | ||
| 501 | static struct regulator_init_data igep2_vpll2 = { | 499 | static struct regulator_init_data igep2_vpll2 = { |
| 502 | .constraints = { | 500 | .constraints = { |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index c2a0fca4aa5..5e38da97dec 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
| @@ -500,10 +500,8 @@ static struct twl4030_codec_data omap3evm_codec_data = { | |||
| 500 | .audio = &omap3evm_audio_data, | 500 | .audio = &omap3evm_audio_data, |
| 501 | }; | 501 | }; |
| 502 | 502 | ||
| 503 | static struct regulator_consumer_supply omap3_evm_vdda_dac_supply = { | 503 | static struct regulator_consumer_supply omap3_evm_vdda_dac_supply = |
| 504 | .supply = "vdda_dac", | 504 | REGULATOR_SUPPLY("vdda_dac", "omapdss"); |
| 505 | .dev = &omap3_evm_dss_device.dev, | ||
| 506 | }; | ||
| 507 | 505 | ||
| 508 | /* VDAC for DSS driving S-Video */ | 506 | /* VDAC for DSS driving S-Video */ |
| 509 | static struct regulator_init_data omap3_evm_vdac = { | 507 | static struct regulator_init_data omap3_evm_vdac = { |
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index 5d1ccef6916..9c63c37b500 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 = { |
