]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
firmware: qcom: scm: Use devm_reset_controller_register()
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 28 Aug 2016 16:29:10 +0000 (16:29 +0000)
committerAndy Gross <andy.gross@linaro.org>
Sun, 13 Nov 2016 05:24:51 +0000 (23:24 -0600)
commitbd4760ca03156731674a570e44490986189d8228
tree9d7d1f3e52dc87e37b78f0d043f9aa8ba9423006
parent4fb1a4207804caeb9ef03c449dfd51446bf3d014
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>
drivers/firmware/qcom_scm.c