commit | b674a30bf8b0edf3b966e32dfcb2e00dfca5a823 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Fri Sep 27 15:10:47 2019 +0800 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Fri Oct 04 21:10:26 2019 -0700 |
tree | 1771023b65a92aa8e9c89c3281874eca9ed49ec8 | |
parent | b4d64193d41e52a5d35923bc5a0772d9de250092 [diff] |
hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock controller Use devm_hwspin_lock_register() to register the hwlock controller instead of unregistering the hwlock controller explicitly when removing the device. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>