ARM: OMAP2+: pm: Use hwmod name instead of dev pointer
authorBenoit Cousson <b-cousson@ti.com>
Tue, 16 Aug 2011 13:02:20 +0000 (15:02 +0200)
committerKevin Hilman <khilman@ti.com>
Tue, 4 Oct 2011 16:52:22 +0000 (09:52 -0700)
Replace the struct device parameter of omap2_set_init_voltage
by the hwmod name. It will avoid having to store explicitely
the device pointer into a static variable.

Moreover, it will be a little bit more scalable if we introduce
new DVFS devices.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found