summaryrefslogtreecommitdiff
path: root/drivers/android
diff options
context:
space:
mode:
authorShankari Anand <shankari.ak0208@gmail.com>2026-01-03 01:57:11 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-03 12:58:36 +0100
commit9caa30dada9e8ec9b1b09cf95e6d1a806c86d101 (patch)
treeec38b60c80832503c82a15aecf065c26ce492bef /drivers/android
parent38ac9179a79d81ab1db3807ddd6c03fab29eb19b (diff)
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: https://github.com/Rust-for-Linux/linux/issues/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>
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder/process.rs2
-rw-r--r--drivers/android/binder/thread.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/android/binder/process.rs b/drivers/android/binder/process.rs
index ba98ef9f3545..41de5593197c 100644
--- a/drivers/android/binder/process.rs
+++ b/drivers/android/binder/process.rs
@@ -28,11 +28,11 @@ use kernel::{
seq_print,
sync::poll::PollTable,
sync::{
+ aref::ARef,
lock::{spinlock::SpinLockBackend, Guard},
Arc, ArcBorrow, CondVar, CondVarTimeoutResult, Mutex, SpinLock, UniqueArc,
},
task::Task,
- types::ARef,
uaccess::{UserSlice, UserSliceReader},
uapi,
workqueue::{self, Work},
diff --git a/drivers/android/binder/thread.rs b/drivers/android/binder/thread.rs
index 6e8f29e50cac..23697ae896ee 100644
--- a/drivers/android/binder/thread.rs
+++ b/drivers/android/binder/thread.rs
@@ -16,9 +16,8 @@ use kernel::{
seq_file::SeqFile,
seq_print,
sync::poll::{PollCondVar, PollTable},
- sync::{Arc, SpinLock},
+ sync::{aref::ARef, Arc, SpinLock},
task::Task,
- types::ARef,
uaccess::UserSlice,
uapi,
};