diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-09-07 10:07:01 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-10-01 06:54:08 +0200 |
commit | 217fa3961a5915a12e4ef6982e593e5215f8499c (patch) | |
tree | eacf7a16cb5c48d2a68e94f2d5f24b920bcef84a /drivers/opp | |
parent | Linux 6.12-rc1 (diff) | |
download | linux-217fa3961a5915a12e4ef6982e593e5215f8499c.tar.xz linux-217fa3961a5915a12e4ef6982e593e5215f8499c.zip |
OPP: Remove unused declarations in header file
The definition of _update_set_required_opps() has been removed since
commit e37440e7e2c2 ("OPP: Call dev_pm_opp_set_opp() for required
OPPs").
Besides, the definition of _put_opp_list_kref() has been removed since
commit 03758d60265c ("opp: Replace list_kref with a local counter").
Let's remove the empty declarations in header file.
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp')
-rw-r--r-- | drivers/opp/opp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/opp/opp.h b/drivers/opp/opp.h index cff1fabd1ae3..882e32f121d3 100644 --- a/drivers/opp/opp.h +++ b/drivers/opp/opp.h @@ -262,9 +262,7 @@ int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *o int _opp_add_v1(struct opp_table *opp_table, struct device *dev, struct dev_pm_opp_data *data, bool dynamic); void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask, int last_cpu); struct opp_table *_add_opp_table_indexed(struct device *dev, int index, bool getclk); -void _put_opp_list_kref(struct opp_table *opp_table); void _required_opps_available(struct dev_pm_opp *opp, int count); -void _update_set_required_opps(struct opp_table *opp_table); static inline bool lazy_linking_pending(struct opp_table *opp_table) { |