diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2020-07-30 10:01:44 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2020-09-16 14:02:33 +0530 |
commit | 60cdeae0d627eca4ae616e3097a1f00ac9f3d704 (patch) | |
tree | 690a7c5b735572483d1a2ed3c195bba086fbf9ac /drivers/fpga/fpga-bridge.c | |
parent | 475ac8ead803e8c3a8f492e3129b1a19d7e2efd7 (diff) |
opp: Reduce code duplication in _set_required_opps()
Move call to dev_pm_genpd_set_performance_state() to a separate
function so we can avoid duplicating the code for the single and
multiple genpd case.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
[ Viresh: Validate virtual device before use ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions