mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
rust: usb: Update AlwaysRefCounted imports to use sync::aref
Update call sites in `usb.rs` to import `AlwaysRefCounted` 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> Link: https://patch.msgid.link/20260102202714.184223-4-shankari.ak0208@gmail.com [ Rebase. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
parent
dfce283387
commit
ebbed9d02e
|
|
@ -18,10 +18,8 @@
|
|||
to_result, //
|
||||
},
|
||||
prelude::*,
|
||||
types::{
|
||||
AlwaysRefCounted,
|
||||
Opaque, //
|
||||
},
|
||||
sync::aref::AlwaysRefCounted,
|
||||
types::Opaque,
|
||||
ThisModule, //
|
||||
};
|
||||
use core::{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user