diff options
author | Thomas Zimmermann <[email protected]> | 2023-06-13 13:07:09 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2023-06-27 09:58:51 +0200 |
commit | e2af003210c6395f32a5ba9a032ff9589ee7bb09 (patch) | |
tree | cb87270b0ba207cfb7ca0c82102e7e414d07d068 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | f0f6839be41d71a367611284412949f1d3c8baea (diff) |
fbdev/core: Add fb_device_{create,destroy}()
Move the logic to create and destroy fbdev devices into the new
helpers fb_device_create() and fb_device_destroy().
There was a call to fb_cleanup_device() in do_unregister_framebuffer()
that was too late. The device had already been removed at this point.
Move the call into fb_device_destroy().
Declare the helpers in the new internal header file fb_internal.h, as
they are only used within the fbdev core module.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions