diff options
author | Thomas Weißschuh <[email protected]> | 2024-08-30 11:45:57 +0200 |
---|---|---|
committer | Helge Deller <[email protected]> | 2024-08-30 18:42:38 +0200 |
commit | 929c81ade6355b87097a2a4886c10750e68626cf (patch) | |
tree | 64a08f69c537121249bc79f619683d5c259680b1 /rust/helpers/build_bug.c | |
parent | 2451a285ee5e8c83bedcee7f4962c828b890becf (diff) |
fbdev: Introduce devm_register_framebuffer()
Introduce a device-managed variant of register_framebuffer() which
automatically unregisters the framebuffer on device destruction.
This can simplify the error handling and resource management in drivers.
Signed-off-by: Thomas Weißschuh <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions