Skip to content

Commit 9caa30d

Browse files
Shankari02gregkh
authored andcommitted
drivers: android: binder: Update ARef imports from sync::aref
Update call sites in binder files to import `ARef` from `sync::aref` instead of `types`. This aligns with the ongoing effort to move `ARef` and `AlwaysRefCounted` to sync. Suggested-by: Benno Lossin <lossin@kernel.org> Link: #1173 Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com> Acked-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20260102202714.184223-2-shankari.ak0208@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 38ac917 commit 9caa30d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

drivers/android/binder/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ use kernel::{
2828
seq_print,
2929
sync::poll::PollTable,
3030
sync::{
31+
aref::ARef,
3132
lock::{spinlock::SpinLockBackend, Guard},
3233
Arc, ArcBorrow, CondVar, CondVarTimeoutResult, Mutex, SpinLock, UniqueArc,
3334
},
3435
task::Task,
35-
types::ARef,
3636
uaccess::{UserSlice, UserSliceReader},
3737
uapi,
3838
workqueue::{self, Work},

drivers/android/binder/thread.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ use kernel::{
1616
seq_file::SeqFile,
1717
seq_print,
1818
sync::poll::{PollCondVar, PollTable},
19-
sync::{Arc, SpinLock},
19+
sync::{aref::ARef, Arc, SpinLock},
2020
task::Task,
21-
types::ARef,
2221
uaccess::UserSlice,
2322
uapi,
2423
};

0 commit comments

Comments
 (0)