cpufreq: OMAP: scale voltage along with frequency
authorKevin Hilman <khilman@ti.com>
Fri, 15 Jul 2011 22:05:04 +0000 (15:05 -0700)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 15 Mar 2012 21:39:38 +0000 (23:39 +0200)
commit244f51368a0336d3842dc23a4293e6eae02b5221
tree9559ceca0cd6b7de7a7a8d51d0c34d2f4dbae8a4
parent8bf980728bbe382dbf9fd10b54b3f18126392953
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