Re: [PATCH 01/22] fb: amifb: Stop using platform_driver_probe()

2023-11-09 Thread Helge Deller
On 11/8/23 22:34, Geert Uytterhoeven wrote: Hi Helge, On Wed, Nov 8, 2023 at 10:32 PM Helge Deller wrote: On 11/8/23 22:06, Geert Uytterhoeven wrote: On Tue, Nov 7, 2023 at 10:20 AM Uwe Kleine-König wrote: On today's platforms the benefit of platform_driver_probe() isn't that relevant any m

Re: [PATCH 01/22] fb: amifb: Stop using platform_driver_probe()

2023-11-08 Thread Geert Uytterhoeven
Hi Helge, On Wed, Nov 8, 2023 at 10:32 PM Helge Deller wrote: > On 11/8/23 22:06, Geert Uytterhoeven wrote: > > On Tue, Nov 7, 2023 at 10:20 AM Uwe Kleine-König > > wrote: > >> On today's platforms the benefit of platform_driver_probe() isn't that > >> relevant any more. It allows to drop some c

Re: [PATCH 01/22] fb: amifb: Stop using platform_driver_probe()

2023-11-08 Thread Helge Deller
On 11/8/23 22:06, Geert Uytterhoeven wrote: On Tue, Nov 7, 2023 at 10:20 AM Uwe Kleine-König wrote: On today's platforms the benefit of platform_driver_probe() isn't that relevant any more. It allows to drop some code after booting (or module loading) for .probe() and discard the .remove() func

Re: [PATCH 01/22] fb: amifb: Stop using platform_driver_probe()

2023-11-08 Thread Geert Uytterhoeven
Hi Uwe, On Tue, Nov 7, 2023 at 10:20 AM Uwe Kleine-König wrote: > On today's platforms the benefit of platform_driver_probe() isn't that > relevant any more. It allows to drop some code after booting (or module > loading) for .probe() and discard the .remove() function completely if > the driver

[PATCH 01/22] fb: amifb: Stop using platform_driver_probe()

2023-11-07 Thread Uwe Kleine-König
On today's platforms the benefit of platform_driver_probe() isn't that relevant any more. It allows to drop some code after booting (or module loading) for .probe() and discard the .remove() function completely if the driver is built-in. This typically saves a few 100k. The downside of platform_dr