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-igep0020.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-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index dd0b1ac3b662..c235fa2a77ab 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 = { |