diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-09-27 16:27:43 +0800 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-10-04 20:20:41 -0700 |
commit | acc98c1f2a1b4503588d3b1eb35db9cb76abdd89 (patch) | |
tree | 0736438216ce10e3d831cb42ee841499f1bcb77e /drivers/hwspinlock/sprd_hwspinlock.c | |
parent | 637bcd19beeb9e40b8b64b41e8a8bdf03e918edd (diff) | |
download | linux-acc98c1f2a1b4503588d3b1eb35db9cb76abdd89.tar.gz linux-acc98c1f2a1b4503588d3b1eb35db9cb76abdd89.tar.bz2 linux-acc98c1f2a1b4503588d3b1eb35db9cb76abdd89.zip |
hwspinlock: u8500_hsem: 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.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/hwspinlock/sprd_hwspinlock.c')
0 files changed, 0 insertions, 0 deletions