opp: Change return type of devm_pm_opp_attach_genpd()
authorDmitry Osipenko <digetx@gmail.com>
Sun, 14 Mar 2021 16:33:59 +0000 (19:33 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 16 Mar 2021 04:44:11 +0000 (10:14 +0530)
commit9edf48a4bfb75456f7612972a4750a12d8a83702
tree81a5714d29bf5a85338dfc5fde3cacdbc059ea8e
parentc41c8a3485b0b36b7e308eeff8716eb77093596a
opp: Change return type of devm_pm_opp_attach_genpd()

Make devm_pm_opp_attach_genpd() to return error code instead of
opp_table pointer in order to have return type consistent with the
other resource-managed OPP helpers.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
include/linux/pm_opp.h