aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/bq24022.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/bq24022.c')
-rw-r--r--drivers/regulator/bq24022.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/regulator/bq24022.c b/drivers/regulator/bq24022.c
index 366565aba86..c175e38a4cd 100644
--- a/drivers/regulator/bq24022.c
+++ b/drivers/regulator/bq24022.c
@@ -152,11 +152,7 @@ static void __exit bq24022_exit(void)
platform_driver_unregister(&bq24022_driver);
}
-/*
- * make sure this is probed before gpio_vbus and pda_power,
- * but after asic3 or other GPIO expander drivers.
- */
-subsys_initcall(bq24022_init);
+module_init(bq24022_init);
module_exit(bq24022_exit);
MODULE_AUTHOR("Philipp Zabel");