PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API
authorDave Gerlach <d-gerlach@ti.com>
Fri, 3 Feb 2017 17:29:26 +0000 (11:29 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Feb 2017 21:52:17 +0000 (22:52 +0100)
commit0764c604c8128f17fd740ff8b1701d0a1301eb7e
tree80fbc48bb1727baecb8e982eb94af133f9f0cbf5
parent6ac423973397d17684528e89fbbca49b2ff7bb43
PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API

Rename _of_get_opp_desc_node to dev_pm_opp_of_get_opp_desc_node and add it
to include/linux/pm_opp.h to allow other drivers, such as platform OPP
and cpufreq drivers, to make use of it.

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