]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: miscdevice: update ARef import to sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Mon, 18 Aug 2025 13:28:06 +0000 (18:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Aug 2025 10:37:21 +0000 (12:37 +0200)
commit9e57dbcbde250acab44205ee4cc897c4a87c56d9
tree8727c6055c38f402385654aa37e86a396f922bcf
parent89fb7d737f9a3467406c9729609319a8d633e97a
rust: miscdevice: update ARef import to sync::aref

Update the import of `ARef` in misc_device sample to use
`sync::aref` instead of `types`.

This is part of the ongoing effort to move `ARef` and
`AlwaysRefCounted` to the `sync` module for better modularity
and type organization.

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>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://lore.kernel.org/r/20250818132806.134248-1-shankari.ak0208@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/rust/rust_misc_device.rs