Skip to content

Commit 5025569

Browse files
Shankari02Uwe Kleine-König
authored andcommitted
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: #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>
1 parent 0a155a8 commit 5025569

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rust/kernel/pwm.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ use crate::{
1313
devres,
1414
error::{self, to_result},
1515
prelude::*,
16-
types::{ARef, AlwaysRefCounted, Opaque}, //
16+
sync::aref::{ARef, AlwaysRefCounted},
17+
types::Opaque, //
1718
};
1819
use core::{marker::PhantomData, ptr::NonNull};
1920

0 commit comments

Comments
 (0)