OPP: Return error on error from dev_pm_opp_get_opp_count()
[ Upstream commit 09f662f9 ] Return error number instead of 0 on failures. Fixes: a1e8c136 ("PM / OPP: "opp-hz" is optional for power domains") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Showing
Please register or sign in to comment