Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4e1b1bae authored by Jack Pham's avatar Jack Pham
Browse files

usb: diag: Replace kref_put_spinlock_irqsave() with kref_put_lock()



The kref structure has been changed to use refcount_t instead of
atomic_t. But also a new API function kref_put_lock() was added.
We can use this in place of defining our own locking version of
kref_put().

Change-Id: I0f7dc0c7c24f2b8e577b3b67cdd9422c4bd35514
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 6f456763
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment