summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock/hwspinlock_core.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-09-27 15:10:47 +0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-10-04 21:10:26 -0700
commitb674a30bf8b0edf3b966e32dfcb2e00dfca5a823 (patch)
tree1771023b65a92aa8e9c89c3281874eca9ed49ec8 /drivers/hwspinlock/hwspinlock_core.c
parentb4d64193d41e52a5d35923bc5a0772d9de250092 (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>
Diffstat (limited to 'drivers/hwspinlock/hwspinlock_core.c')
0 files changed, 0 insertions, 0 deletions