commit | c102780acdbc22e5f664cfaf760eaccffbd6c385 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Fri Jun 22 16:09:00 2018 +0800 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Tue Jun 26 13:46:23 2018 -0700 |
tree | 50c616d48090d5fd83c23efbfbb1b7e3c4af1a51 | |
parent | 4f1acd758b08d93306d13010c74d38dd8d9f5768 [diff] |
hwspinlock: Add devm_xxx() APIs to register/unregister one hwlock controller This patch introduces devm_hwspin_lock_register() and devm_hwspin_lock_unregister() interfaces to help to register or unregister one hardware spinlock controller, that will help to simplify the cleanup code for hwspinlock drivers. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>