diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-10-15 17:18:50 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-10-22 22:55:10 +0200 |
commit | 7509fd275f9629a29fee30b6271bec6d0657d9f5 (patch) | |
tree | ee9b985744d09bd83195ba1c195f889c118a8b56 /kernel/gcov | |
parent | 88ced317fb09b826b85a0bccb13ec7e0014cf207 (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 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions