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

Commit 86453b47 authored by Viresh Kumar's avatar Viresh Kumar Committed by Rafael J. Wysocki
Browse files

PM / OPP: Staticize __dev_pm_opp_remove()



Its a local routine and need not be accessible outside of opp.c.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 1c6a662f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -518,7 +518,8 @@ static void kfree_device_rcu(struct rcu_head *head)
	kfree_rcu(device_opp, rcu_head);
}

void __dev_pm_opp_remove(struct device_opp *dev_opp, struct dev_pm_opp *opp)
static void __dev_pm_opp_remove(struct device_opp *dev_opp,
				struct dev_pm_opp *opp)
{
	/*
	 * Notify the changes in the availability of the operable