ARM: OMAP2+: voltage: Remove some unused functions
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 3 Jan 2015 00:37:43 +0000 (01:37 +0100)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Jan 2015 17:53:51 +0000 (09:53 -0800)
commitb91dc63b2d59a03618abdf19d9172dcce5c4921e
treeabd6263264b62d965c2b153e501d956a08cb5611
parent10637afb9157c5da28aef0465cd9e6135af5148b
ARM: OMAP2+: voltage: Remove some unused functions

Removes some functions that are not used anywhere:
omap_change_voltscale_method() voltdm_add_pwrdm()
voltdm_for_each() voltdm_for_each_pwrdm()

And remove define VOLTSCALE_VPFORCEUPDATE and VOLTSCALE_VCBYPASS

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/powerdomain.c
arch/arm/mach-omap2/voltage.c
arch/arm/mach-omap2/voltage.h