diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-21 22:36:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-22 01:45:16 +0200 |
commit | 8d23b0b8fc950cba2046840c46b21db9b5c0573c (patch) | |
tree | 0fd9ec88c46b5e946b8fa95baec74236c0772f3f /drivers/regulator/core.c | |
parent | regulator: enable compile testing for Maxim and Samsung PMIC drivers (diff) | |
download | linux-8d23b0b8fc950cba2046840c46b21db9b5c0573c.tar.xz linux-8d23b0b8fc950cba2046840c46b21db9b5c0573c.zip |
regulator: s5m8767: initialize driver via module_platform_driver
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 converted to regular module_platform_driver.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200921203616.19623-1-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions