On Sat, 13 May 2023 13:17:47 +0200, Krzysztof Kozlowski wrote:
Pass to dev_err_probe() PTR_ERR from actual dev_pm_opp_find_bw_floor() call which failed, instead of previous ret which at this point is 0. Failure of dev_pm_opp_find_bw_floor() would result in prematurely ending the probe with success.
Fixes smatch warnings:
[...]
Applied, thanks!
[1/1] soc: qcom: icc-bwmon: fix incorrect error code passed to dev_err_probe() commit: 3530167c6fe8001de6c026a3058eaca4c8a5329f
Best regards,