Re: [PATCH] fbdev: omapfb: Drop unused remove function

2023-11-05 Thread Helge Deller
On 11/3/23 18:35, Uwe Kleine-König wrote: OMAP2_VRFB is a bool, so the vrfb driver can never be compiled as a module. With that __exit_p(vrfb_remove) always evaluates to NULL and vrfb_remove() is unused. If the driver was compilable as a module, it would fail to build because the type of vrfb_re

[PATCH] fbdev: omapfb: Drop unused remove function

2023-11-03 Thread Uwe Kleine-König
OMAP2_VRFB is a bool, so the vrfb driver can never be compiled as a module. With that __exit_p(vrfb_remove) always evaluates to NULL and vrfb_remove() is unused. If the driver was compilable as a module, it would fail to build because the type of vrfb_remove() isn't compatible with struct platform