cpufreq: OMAP: scale voltage along with frequency
authorKevin Hilman <khilman@ti.com>
Fri, 15 Jul 2011 22:05:04 +0000 (15:05 -0700)
committerKevin Hilman <khilman@ti.com>
Wed, 22 Feb 2012 00:32:25 +0000 (16:32 -0800)
commit53dfe8a884e6f85d73379f84cffa72225cd52ad6
tree0a4ffbe130edab06ea52aa141fa20d8c90dbe729
parentb09db45c56c299438a09b85c06067d7dcd951ea4
cpufreq: OMAP: scale voltage along with frequency

Use the regulator framework to get the voltage regulator associated
with the MPU voltage domain and use it to scale voltage along with
frequency.

While here, CONFIG_CPU_FREQ_DEBUG doesn't exist anymore, so move
debug prints to use dev_dbg().

Special thanks to Afzal Mohammed for suggestions on more robust error
checking.

Cc: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/cpufreq/omap-cpufreq.c