Re: [RFT] regulator: s5m8767: initialize driver via module_platform_driver

2020-09-21 Thread Mark Brown
On Mon, 21 Sep 2020 22:36:16 +0200, Krzysztof Kozlowski wrote: > The driver was using subsys_initcall() because in old times deferred > probe was not supported everywhere and specific ordering was needed. > Since probe deferral works fine and specific ordering is discouraged > (hides dependencies

[RFT] regulator: s5m8767: initialize driver via module_platform_driver

2020-09-21 Thread Krzysztof Kozlowski
The driver was using subsys_initcall() because in old times deferred probe was not supported everywhere and specific ordering was needed. Since probe deferral works fine and specific ordering is discouraged (hides dependencies between drivers and couples their boot order), the driver can be