]> www.infradead.org Git - users/jedix/linux-maple.git/commit
OPP: Return opp_table from dev_pm_opp_get_opp_table_ref()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 23 Apr 2025 10:18:40 +0000 (15:48 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 24 Apr 2025 10:35:56 +0000 (16:05 +0530)
commitead694941686345bfd3f95100d889191cb9e3cda
treead68f87c0f794a409eb5407d36725ff038df308d
parent7a3be00771aa9786c7bb4cdb0ee36fee45f67d69
OPP: Return opp_table from dev_pm_opp_get_opp_table_ref()

For convenience of users, return back the pointer to the opp_table from
dev_pm_opp_get_opp_table_ref(), so they can do:

opp_table = dev_pm_opp_get_opp_table_ref(tmp_table);

No intentional functional impact.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
drivers/opp/of.c
include/linux/pm_opp.h