summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/powerdomain.c
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2015-01-03 01:37:43 +0100
committerTony Lindgren <tony@atomide.com>2015-01-07 18:53:51 +0100
commitb91dc63b2d59a03618abdf19d9172dcce5c4921e (patch)
treeabd6263264b62d965c2b153e501d956a08cb5611 /arch/arm/mach-omap2/powerdomain.c
parentARM: OMAP2+: powerdomain.c: Remove some unused functions (diff)
downloadlinux-b91dc63b2d59a03618abdf19d9172dcce5c4921e.tar.xz
linux-b91dc63b2d59a03618abdf19d9172dcce5c4921e.zip
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>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomain.c')
-rw-r--r--arch/arm/mach-omap2/powerdomain.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c
index 6bd6025716ea..78af6d8cf2e2 100644
--- a/arch/arm/mach-omap2/powerdomain.c
+++ b/arch/arm/mach-omap2/powerdomain.c
@@ -115,7 +115,6 @@ static int _pwrdm_register(struct powerdomain *pwrdm)
}
pwrdm->voltdm.ptr = voltdm;
INIT_LIST_HEAD(&pwrdm->voltdm_node);
- voltdm_add_pwrdm(voltdm, pwrdm);
skip_voltdm:
spin_lock_init(&pwrdm->_lock);