Re: [PATCH v2 34/38] fbdev/core: Add fb_device_{create,destroy}()

From
Sam Ravnborg <hidden>
Date
2023-06-12 15:45:06
Also in
dri-devel, linux-omap, linux-sh, linux-staging, lkml
Reply to
Thomas Zimmermann, 2023-06-12
On Mon, Jun 12, 2023 at 04:08:12PM +0200, Thomas Zimmermann wrote:
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 <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <redacted>
Thread (56 messages) 56 messages, 6 authors, last reply 2023-06-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help