diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:13:02 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:13:02 -0500 |
commit | 915aad89fcc57a03511c69915b3876f4e53074ee (patch) | |
tree | f233d9b21734726e46f08ec6fec69445912c0d99 /arch/arm | |
parent | e0594b448a040473fdc283934df66811f497a275 (diff) |
OMAP powerdomain: remove pwrdm_clk_state_switch
Nothing calls pwrdm_clk_state_switch(), and the function that seems to be
its ideal use case calls pwrdm_clkdm_state_switch(clk->clkdm), so remove it.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tero Kristo <tero.kristo@nokia.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/powerdomain.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c index df6446a9c353..9d4b8f5e09b6 100644 --- a/arch/arm/mach-omap2/powerdomain.c +++ b/arch/arm/mach-omap2/powerdomain.c | |||
@@ -928,12 +928,6 @@ int pwrdm_clkdm_state_switch(struct clockdomain *clkdm) | |||
928 | 928 | ||
929 | return -EINVAL; | 929 | return -EINVAL; |
930 | } | 930 | } |
931 | int pwrdm_clk_state_switch(struct clk *clk) | ||
932 | { | ||
933 | if (clk != NULL && clk->clkdm != NULL) | ||
934 | return pwrdm_clkdm_state_switch(clk->clkdm); | ||
935 | return -EINVAL; | ||
936 | } | ||
937 | 931 | ||
938 | int pwrdm_pre_transition(void) | 932 | int pwrdm_pre_transition(void) |
939 | { | 933 | { |