PM / OPP: Split out part of _add_opp_table() and _remove_opp_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 2 Jan 2017 09:11:04 +0000 (14:41 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 27 Jan 2017 10:49:10 +0000 (11:49 +0100)
commitb6160e26936bcf1b9181bb34ad4f420ccd3f39f0
tree05415262587e48a656bf801651d4ffaac0669742
parentdc2c9ad52af45ebecf9743aacb1916ebb2f1e848
PM / OPP: Split out part of _add_opp_table() and _remove_opp_table()

Split out parts of _add_opp_table() and _remove_opp_table() into
separate routines. This improves readability as well.

Should result in no functional changes.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/core.c