opp: Drop unnecessary check from dev_pm_opp_attach_genpd()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 27 Aug 2020 09:36:43 +0000 (15:06 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 16 Sep 2020 08:32:33 +0000 (14:02 +0530)
commit475ac8ead803e8c3a8f492e3129b1a19d7e2efd7
tree3238c1699cc51859cf14d365c7845b42cf555269
parent3a5578784d1eb4b89f5f112f67caad4a76ae19c3
opp: Drop unnecessary check from dev_pm_opp_attach_genpd()

Since commit c0ab9e0812da ("opp: Allocate genpd_virt_devs from
dev_pm_opp_attach_genpd()"), the allocation of the virtual devices is
moved to dev_pm_opp_attach_genpd() and this check isn't required anymore
as it will always fail. Drop it.

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