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

Commit e340d899 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "regulator: qpnp-amoled: Change the initcall order"

parents 106b3660 c9d8bb97
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -811,7 +811,19 @@ static struct platform_driver qpnp_amoled_regulator_driver = {
	.probe		= qpnp_amoled_regulator_probe,
	.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_LICENSE("GPL v2");

arch_initcall(qpnp_amoled_regulator_init);
module_exit(qpnp_amoled_regulator_exit);