]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rust: drm: update ARef and AlwaysRefCounted imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Fri, 15 Aug 2025 16:17:06 +0000 (21:47 +0530)
committerDanilo Krummrich <dakr@kernel.org>
Tue, 19 Aug 2025 22:12:52 +0000 (00:12 +0200)
commitf1f2a22b8683d7ac38821d4508d4549a2f0c0a0a
tree6885e2646b6201b27f7c69530782b1ad6a13f520
parentc8cea4371e5eca30cda8660aabb337747dabc51d
rust: drm: update ARef and AlwaysRefCounted imports from sync::aref

Update call sites in drm 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>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev>
Link: https://lore.kernel.org/r/20250815161706.1324860-1-shankari.ak0208@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/drm/device.rs
rust/kernel/drm/driver.rs
rust/kernel/drm/gem/mod.rs