Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de54c8d8 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

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: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 5b1028b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");