disp: msm: move msm_drv probe to module level

With the introduction of sync state drivers, msm_drm probe can be
moved back to module level from late init.  It is now guaranteed
that the dependencies are probed before the actual driver is.

Change-Id: Ib7c3e0e3c3d32b37b7672b6119bcf5371783659d
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
Satya Rama Aditya Pinapala 2020-02-28 19:09:17 -08:00 committed by Gerrit - the friendly Code Review server
parent 466dcda345
commit d97b665e1d

View File

@ -2002,7 +2002,7 @@ static void __exit msm_drm_unregister(void)
msm_smmu_driver_cleanup();
}
late_initcall(msm_drm_register);
module_init(msm_drm_register);
module_exit(msm_drm_unregister);
MODULE_AUTHOR("Rob Clark <robdclark@gmail.com");