]> git.karo-electronics.de Git - linux-beck.git/commit
PM / OPP: Separate out _generic_set_opp()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 1 Dec 2016 10:58:20 +0000 (16:28 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Dec 2016 01:27:59 +0000 (02:27 +0100)
commit947355850fcb3bb6549294316667d0f53bc03082
tree2e70450b998e003395897fbc13ec3ab3af55f883
parentdfbe4678d709e25e0f36e6b6333e2a7a67aefb7e
PM / OPP: Separate out _generic_set_opp()

Later patches would add support for custom set_opp() callbacks. This
patch separates out the code for _generic_set_opp() handler in order to
prepare for that.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dave Gerlach <d-gerlach@ti.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/core.c
drivers/base/power/opp/opp.h
include/linux/pm_opp.h