diff options
author | Andrew Davis <afd@ti.com> | 2024-02-08 10:51:13 -0600 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-03-05 20:01:14 -0800 |
commit | 8781ec87795a8812b22579ba7ccdc0fdc16ba003 (patch) | |
tree | fc20802833803d75d7d46379d6cca5e6c60d9264 /scripts/patch-kernel | |
parent | 25f7d74d451484fc09772fc276b161d1a6bc64b6 (diff) |
hwspinlock: omap: Use devm_hwspin_lock_register() helper
This will unregister the HW spinlock on module exit automatically for us,
currently we manually unregister which can be error-prone if not done in
the right order. This also allows us to remove the remove callback.
Do that here.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240208165114.63148-3-afd@ti.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions