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 <tzimmerm...@suse.de> Reviewed-by: Sam Ravnborg <s...@ravnborg.org>
- [PATCH v2 08/38] fbdev/atyfb: Use hardware device as bac... Thomas Zimmermann
- [PATCH v2 18/38] fbdev/nvidiafb: Reorder backlight and f... Thomas Zimmermann
- [PATCH v2 12/38] fbdev/ep93xx-fb: Alloc DMA memory from ... Thomas Zimmermann
- [PATCH v2 09/38] fbdev/aty128fb: Reorder backlight and f... Thomas Zimmermann
- [PATCH v2 15/38] fbdev/fsl-diu-fb: Output messages with ... Thomas Zimmermann
- [PATCH v2 20/38] fbdev/pxa168fb: Do not assign to struct... Thomas Zimmermann
- [PATCH v2 10/38] fbdev/aty128fb: Use hardware device as ... Thomas Zimmermann
- [PATCH v2 17/38] fbdev/metronomefb: Use hardware device ... Thomas Zimmermann
- [PATCH v2 22/38] fbdev/radeonfb: Use hardware device as ... Thomas Zimmermann
- [PATCH v2 34/38] fbdev/core: Add fb_device_{create,destr... Thomas Zimmermann
- Re: [PATCH v2 34/38] fbdev/core: Add fb_device_{cre... Sam Ravnborg
- [PATCH v2 19/38] fbdev/nvidiafb: Use hardware device as ... Thomas Zimmermann
- [PATCH v2 36/38] fbdev/core: Move file-I/O code into sep... Thomas Zimmermann
- Re: [PATCH v2 36/38] fbdev/core: Move file-I/O code... Thomas Zimmermann
- [PATCH v2 26/38] fbdev/sh7760fb: Output messages with fb... Thomas Zimmermann
- [PATCH v2 25/38] fbdev/sh7760fb: Use fb_dbg() in sh7760f... Thomas Zimmermann
- [PATCH v2 37/38] fbdev/core: Rework fb init code Thomas Zimmermann
- [PATCH v2 28/38] fbdev/sh7760fb: Use hardware device wit... Thomas Zimmermann
- [PATCH v2 24/38] fbdev/rivafb: Use hardware device as ba... Thomas Zimmermann
- [PATCH v2 31/38] fbdev/tdfxfb: Set i2c adapter parent to... Thomas Zimmermann
- [PATCH v2 33/38] fbdev/core: Move framebuffer and backli... Thomas Zimmermann