diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-06-22 10:08:59 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-06-26 22:27:58 +0200 |
commit | 4f1acd758b08d93306d13010c74d38dd8d9f5768 (patch) | |
tree | 2e59dc9ca521e9a0720eef3313a881926b8b15d1 /mm | |
parent | hwspinlock: Add one new API to support getting a specific hwlock by the name (diff) | |
download | linux-4f1acd758b08d93306d13010c74d38dd8d9f5768.tar.xz linux-4f1acd758b08d93306d13010c74d38dd8d9f5768.zip |
hwspinlock: Add devm_xxx() APIs to request/free hwlock
This patch introduces some devm_xxx() APIs to help to request or free
the hwlocks, which will help to simplify the cleanup code for drivers
requesting one hwlock, ensuring that the hwlock is automatically freed
whenever the device is unbound.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions