mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
regulator: rpm-smd-regulator: move regulator init to arch_initcall
RPM regulator initialization is done at module_init level which is late in the boot-up sequence and drivers dependent on regulators do probe deferral. Move RPM regulator initialization to arch_init level to minimize probe deferrals by dependent drivers. Change-Id: I3e0bc7cb46a90eb62418122869c70345da9217ee Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
This commit is contained in:
parent
5b1028b642
commit
de54c8d801
1 changed files with 1 additions and 1 deletions
|
@ -1715,7 +1715,7 @@ static void __exit rpm_vreg_exit(void)
|
|||
platform_driver_unregister(&rpm_vreg_resource_driver);
|
||||
}
|
||||
|
||||
module_init(rpm_smd_regulator_driver_init);
|
||||
arch_initcall(rpm_smd_regulator_driver_init);
|
||||
module_exit(rpm_vreg_exit);
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
Loading…
Reference in a new issue