OSDN Git Service

clk: qcom: videocc-sm8250: switch to devm_pm_runtime_enable
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 3 Jan 2023 14:55:15 +0000 (16:55 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 11 Jan 2023 04:05:09 +0000 (22:05 -0600)
commit68714ad80829dc34b7db71819bd8b908ecdd7222
tree9f8197f9b55f4a7434af77e90f7a8af19917cb73
parentf9048217a48cd86c1dd32e0e9b5ad204896b1343
clk: qcom: videocc-sm8250: switch to devm_pm_runtime_enable

Switch to using the devm_pm_runtime_enable() instead of hand-coding
corresponding action to call pm_runtime_disable().

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230103145515.1164020-22-dmitry.baryshkov@linaro.org
drivers/clk/qcom/videocc-sm8250.c