Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 915aad89 authored by Paul Walmsley's avatar Paul Walmsley
Browse files

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: default avatarPaul Walmsley <paul@pwsan.com>
Cc: Tero Kristo <tero.kristo@nokia.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
parent e0594b44
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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)
{