OPP: Handle all genpd cases together in _set_required_opps()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 22 Feb 2023 11:06:37 +0000 (16:36 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 3 Apr 2023 04:15:09 +0000 (09:45 +0530)
commit29b1a92e5e953214388ac1f3656cb3af266ca74f
tree1ae9ba85edaefb6d6aee6f8af5e0008d99728201
parente9eadc28271940266ace3f748a1c6278bd886ea8
OPP: Handle all genpd cases together in _set_required_opps()

There is no real need of keeping separate code for single genpd case, it
can be made to work with a simple change.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/opp/core.c