Commit 5e1b34a4 authored by Wei Yongjun's avatar Wei Yongjun Committed by Srinivas Kandagatla
Browse files

firmware: qcom: scm: Use devm_reset_controller_register()



Use devm_reset_controller_register() for the reset controller
registration and fixes the memory leak when unload the module.

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
(cherry picked from commit bd4760ca)
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
parent 69973b83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment