]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust/drm: Fix Registration::{new,new_foreign_owned}() docs
authorLyude Paul <lyude@redhat.com>
Thu, 22 Jan 2026 22:10:37 +0000 (17:10 -0500)
committerLyude Paul <lyude@redhat.com>
Fri, 23 Jan 2026 19:18:07 +0000 (14:18 -0500)
commit638eeda8abaa3e6afe6bd5758ef8045a7f33b9a0
tree02064e6a57b9e41fc0a9aeb4424e3fab2a2fcfe1
parent6ea52b6d8f33ae627f4dcf43b12b6e713a8b9331
rust/drm: Fix Registration::{new,new_foreign_owned}() docs

Looks like we've actually had a malformed rustdoc reference in the rustdocs
for Registration::new_foreign_owned() for a while that, when fixed, still
couldn't resolve properly because it refers to a private item.

This is probably leftover from when Registration::new() was public, so drop
the documentation from that function and fixup the documentation for
Registration::new_foreign_owned().

Signed-off-by: Lyude Paul <lyude@redhat.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Fixes: 0600032c54b7 ("rust: drm: add DRM driver registration")
Cc: <stable@vger.kernel.org> # v6.16+
Link: https://patch.msgid.link/20260122221037.3462081-1-lyude@redhat.com
rust/kernel/drm/driver.rs