Skip to content

Commit ebbed9d

Browse files
Shankari02ojeda
authored andcommitted
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: #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>
1 parent dfce283 commit ebbed9d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

rust/kernel/usb.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ use crate::{
1818
to_result, //
1919
},
2020
prelude::*,
21-
types::{
22-
AlwaysRefCounted,
23-
Opaque, //
24-
},
21+
sync::aref::AlwaysRefCounted,
22+
types::Opaque,
2523
ThisModule, //
2624
};
2725
use core::{

0 commit comments

Comments
 (0)