summaryrefslogtreecommitdiff
path: root/drivers/pmdomain/qcom/cpr.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-09-16 17:07:26 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2024-10-02 02:27:50 +0300
commiteb8333673e1ebc2418980b664a84c91b4e98afc4 (patch)
treeace96d76cede8215f89db3d3f18ffa977577ec17 /drivers/pmdomain/qcom/cpr.c
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
downloadlinux-eb8333673e1ebc2418980b664a84c91b4e98afc4.tar.xz
OPP: fix error code in dev_pm_opp_set_config()
This is an error path so set the error code. Smatch complains about the current code: drivers/opp/core.c:2660 dev_pm_opp_set_config() error: uninitialized symbol 'ret'. Fixes: e37440e7e2c2 ("OPP: Call dev_pm_opp_set_opp() for required OPPs") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/3f3660af-4ea0-4a89-b3b7-58de7b16d7a5@stanley.mountain Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain/qcom/cpr.c')
0 files changed, 0 insertions, 0 deletions