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

Commit c9d8bb97 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

regulator: qpnp-amoled: Change the initcall order



Change the initcall order of AMOLED regulator driver so that it
can probe early and consumers like display panel driver can get
it early.

Change-Id: Iea0efacfcf9c10b31f8f264d498cf4e7e53f843f
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent b665b38f
Loading
Loading
Loading
Loading
+13 −1
Original line number Original line Diff line number Diff line
@@ -687,7 +687,19 @@ static struct platform_driver qpnp_amoled_regulator_driver = {
	.probe		= qpnp_amoled_regulator_probe,
	.probe		= qpnp_amoled_regulator_probe,
	.remove		= qpnp_amoled_regulator_remove,
	.remove		= qpnp_amoled_regulator_remove,
};
};
module_platform_driver(qpnp_amoled_regulator_driver);

static int __init qpnp_amoled_regulator_init(void)
{
	return platform_driver_register(&qpnp_amoled_regulator_driver);
}

static void __exit qpnp_amoled_regulator_exit(void)
{
	platform_driver_unregister(&qpnp_amoled_regulator_driver);
}


MODULE_DESCRIPTION("QPNP AMOLED regulator driver");
MODULE_DESCRIPTION("QPNP AMOLED regulator driver");
MODULE_LICENSE("GPL v2");
MODULE_LICENSE("GPL v2");

arch_initcall(qpnp_amoled_regulator_init);
module_exit(qpnp_amoled_regulator_exit);