diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-01-02 14:40:57 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-01-27 11:49:08 +0100 |
commit | 63a69ea4b88f37bda3bb13c4fb417a3218902022 (patch) | |
tree | f47f9b8749f6a1f05a8bbc1babcf9e84e82c65a2 /drivers/base/power/opp/opp.h | |
parent | 1715371ddd5affdd63c7cb5220d104062c74ad66 (diff) | |
download | linux-63a69ea4b88f37bda3bb13c4fb417a3218902022.tar.gz linux-63a69ea4b88f37bda3bb13c4fb417a3218902022.tar.bz2 linux-63a69ea4b88f37bda3bb13c4fb417a3218902022.zip |
PM / OPP: Rename _allocate_opp() to _opp_allocate()
Make the naming consistent with how other routines are named.
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>
Diffstat (limited to 'drivers/base/power/opp/opp.h')
-rw-r--r-- | drivers/base/power/opp/opp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/opp/opp.h b/drivers/base/power/opp/opp.h index af9f2b849a66..0f23a1059605 100644 --- a/drivers/base/power/opp/opp.h +++ b/drivers/base/power/opp/opp.h @@ -193,7 +193,7 @@ struct opp_table { struct opp_table *_find_opp_table(struct device *dev); struct opp_device *_add_opp_dev(const struct device *dev, struct opp_table *opp_table); void _dev_pm_opp_remove_table(struct device *dev, bool remove_all); -struct dev_pm_opp *_allocate_opp(struct device *dev, struct opp_table **opp_table); +struct dev_pm_opp *_opp_allocate(struct device *dev, struct opp_table **opp_table); int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table); void _opp_remove(struct opp_table *opp_table, struct dev_pm_opp *opp, bool notify); int _opp_add_v1(struct device *dev, unsigned long freq, long u_volt, bool dynamic); |