OPP: Add _link_required_opps() to avoid code duplication
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 12 Oct 2023 09:41:30 +0000 (15:11 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 16 Oct 2023 10:36:09 +0000 (16:06 +0530)
commit96104046d13585ad5d2cd8803dbb7c49b0cda3e7
treecdae827413ae71744a24958bef7a4ce59f98abb0
parent8e6db129eb56960202642800ffd273d68411acff
OPP: Add _link_required_opps() to avoid code duplication

Factor out _link_required_opps() to remove duplicate code. No functional
change.

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