Re: [PATCH] serial: pmac_zilog: Drop usage of platform_driver_probe()

2024-04-02 Thread Michael Ellerman
Uwe Kleine-König writes: > There are considerations to drop platform_driver_probe() as a concept > that isn't relevant any more today. It comes with an added complexity > that makes many users hold it wrong. (E.g. this driver should have > marked the driver struct with __refdata to prevent the

[PATCH] serial: pmac_zilog: Drop usage of platform_driver_probe()

2024-03-29 Thread Uwe Kleine-König
There are considerations to drop platform_driver_probe() as a concept that isn't relevant any more today. It comes with an added complexity that makes many users hold it wrong. (E.g. this driver should have marked the driver struct with __refdata to prevent the below mentioned false positive