diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-06-13 20:22:04 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2018-11-05 07:40:43 +0530 |
commit | e38f89d310fcc543b0b94594a92db1d6cfbd9376 (patch) | |
tree | 1768f78fc7800d969e9740785674d093c018ccaf /drivers/opp/core.c | |
parent | da544b61eb5541db8827af0beab618daead88a34 (diff) |
PM / Domains: Add genpd_opp_to_performance_state()
The OPP core currently stores the performance state in the consumer
device's OPP table, but that is going to change going forward and
performance state will rather be set directly in the genpd's OPP table.
For that we need to get the performance state for genpd's device
structure (genpd->dev) instead of the consumer device's structure. Add a
new helper to do that.
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/core.c')
0 files changed, 0 insertions, 0 deletions