]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hwspinlock: Remove unused (devm_)hwspin_lock_request()
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 27 Oct 2024 20:54:45 +0000 (20:54 +0000)
committerBjorn Andersson <andersson@kernel.org>
Fri, 21 Mar 2025 22:12:04 +0000 (17:12 -0500)
commite9a3682d17d5afee697fc95d3fa342d740767fad
tree1e053c43e773adf0dbaf6a0649c7ee05c598ca0f
parenta64dcfb451e254085a7daee5fe51bf22959d52d3
hwspinlock: Remove unused (devm_)hwspin_lock_request()

devm_hwspin_lock_request() was added by 2018's
commit 4f1acd758b08 ("hwspinlock: Add devm_xxx() APIs to request/free
hwlock") however, it's never been used, everyone uses the
devm_hwspin_lock_request_specific() call instead.

Remove it.

Similarly, the none-devm variant isn't used.
Remove it, and the referring documentation.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241027205445.239108-1-linux@treblig.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/locking/hwspinlock.rst
drivers/hwspinlock/hwspinlock_core.c
include/linux/hwspinlock.h