summaryrefslogtreecommitdiff
path: root/rust/kernel/drm/mod.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-10-15 17:18:50 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-10-22 22:55:10 +0200
commit7509fd275f9629a29fee30b6271bec6d0657d9f5 (patch)
treeee9b985744d09bd83195ba1c195f889c118a8b56 /rust/kernel/drm/mod.rs
parent88ced317fb09b826b85a0bccb13ec7e0014cf207 (diff)
rust: drm: add DRM driver registration
Implement the DRM driver `Registration`. The `Registration` structure is responsible to register and unregister a DRM driver. It makes use of the `Devres` container in order to allow the `Registration` to be owned by devres, such that it is automatically dropped (and the DRM driver unregistered) once the parent device is unbound. Co-developed-by: Asahi Lina <lina@asahilina.net> Signed-off-by: Asahi Lina <lina@asahilina.net> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/drm/mod.rs')
0 files changed, 0 insertions, 0 deletions