mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 14:43:27 -04:00
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>
This commit is contained in:
parent
e0594b448a
commit
915aad89fc
1 changed files with 0 additions and 6 deletions
|
|
@ -928,12 +928,6 @@ int pwrdm_clkdm_state_switch(struct clockdomain *clkdm)
|
|||
|
||||
return -EINVAL;
|
||||
}
|
||||
int pwrdm_clk_state_switch(struct clk *clk)
|
||||
{
|
||||
if (clk != NULL && clk->clkdm != NULL)
|
||||
return pwrdm_clkdm_state_switch(clk->clkdm);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
int pwrdm_pre_transition(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue