]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: driver-core: Update ARef and AlwaysRefCounted imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Thu, 14 Aug 2025 10:46:15 +0000 (16:16 +0530)
committerDanilo Krummrich <dakr@kernel.org>
Fri, 15 Aug 2025 20:34:41 +0000 (22:34 +0200)
commit1e180614b3608e1cb0f81753b2172af253d58a52
tree00932813583d3f7503320eda25826dca57957690
parentb6a37d1d4694111895248b771513153ccace606a
rust: driver-core: Update ARef and AlwaysRefCounted imports from sync::aref

Update call sites in the driver-core files and its related samples
to import `ARef` and `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://lore.kernel.org/r/20250814104615.355106-1-shankari.ak0208@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/auxiliary.rs
rust/kernel/device.rs
rust/kernel/devres.rs
rust/kernel/pci.rs
rust/kernel/platform.rs
samples/rust/rust_driver_pci.rs
samples/rust/rust_driver_platform.rs