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: pwm: Update ARef and AlwaysRefCounted imports to use sync::aref

Update call sites in `pwm.rs` 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>
Acked-by: Michal Wilczynski <m.wilczynski@samsung.com>
Link: https://patch.msgid.link/20251123092438.182251-7-shankari.ak0208@gmail.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>

authored by

Shankari Anand and committed by
Uwe Kleine-König
5025569c 0a155a8a

+2 -1
+2 -1
rust/kernel/pwm.rs
··· 13 13 devres, 14 14 error::{self, to_result}, 15 15 prelude::*, 16 - types::{ARef, AlwaysRefCounted, Opaque}, // 16 + sync::aref::{ARef, AlwaysRefCounted}, 17 + types::Opaque, // 17 18 }; 18 19 use core::{marker::PhantomData, ptr::NonNull}; 19 20