]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:21:15 +0000 (07:21 -0500)
commitaaaea528d476852f21ec51fc752d9b8364552a2c
treee7db361dc3e78bb36f5c5f6fdf3e04d2a47928fa
parent71cfbc15c91a666a4e9852b2d0378dc9224b7ab3
rust/drm: Fix Registration::{new,new_foreign_owned}() docs

[ Upstream commit 638eeda8abaa3e6afe6bd5758ef8045a7f33b9a0 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
rust/kernel/drm/driver.rs