PM / OPP: Rename and split _dev_pm_opp_remove_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 2 Jan 2017 09:11:00 +0000 (14:41 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 27 Jan 2017 10:49:09 +0000 (11:49 +0100)
commit9274c892430ef3240acf3f336916f64fe2b67b02
tree792ae8b606ced7ce4fe94d679335d0f19fb3770d
parent969fceb3c7e6fc7fd0419b0392435717824f7ba5
PM / OPP: Rename and split _dev_pm_opp_remove_table()

Later patches would want to remove OPP table (and its OPPs) using the
opp_table pointer instead of 'dev'.

In order to prepare for that, rename _dev_pm_opp_remove_table() as
_dev_pm_opp_find_and_remove_table() split out part of it.

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
drivers/base/power/opp/of.c
drivers/base/power/opp/opp.h