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:Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by:
Andy Gross <andy.gross@linaro.org> (cherry picked from commit bd4760ca) Signed-off-by:
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Loading
Please sign in to comment