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)
commit0f7aa005c85917f114c376e937d88f5d941fb389
tree2cbfb7a5218d06b8520c9dbaf95e204003ae347e
parentb1621fc80123e4f113c3dc1bc6dbad53ebd0c888
ARM: OMAP2+: pm: Use hwmod name instead of dev pointer

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>
arch/arm/mach-omap2/pm.c