OPP: No need to defer probe from _opp_attach_genpd()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 13 Oct 2023 03:42:19 +0000 (09:12 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 17 Oct 2023 05:41:28 +0000 (11:11 +0530)
commit5ea4911359a534ffe95e7158b4d1c7ccb2f73b17
treeabdd5c1ee73911b9fc424e647964a2491590335f
parent48b5aaec596d9a2a22c97a1e2aa56103e0c72d38
OPP: No need to defer probe from _opp_attach_genpd()

When the new interface for attaching genpd's via the OPP core was added,
it was possible for required_opp_count to be zero, but not anymore.

Remove the unused check.

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