Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Shankari Anand and committed by
Miguel Ojeda
ebbed9d0 dfce2833

+2 -4
+2 -4
rust/kernel/usb.rs
··· 18 18 to_result, // 19 19 }, 20 20 prelude::*, 21 - types::{ 22 - AlwaysRefCounted, 23 - Opaque, // 24 - }, 21 + sync::aref::AlwaysRefCounted, 22 + types::Opaque, 25 23 ThisModule, // 26 24 }; 27 25 use core::{