summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/ab4500-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/ab4500-core.c b/drivers/mfd/ab4500-core.c
index 3ad91f7..1c44c19 100644
--- a/drivers/mfd/ab4500-core.c
+++ b/drivers/mfd/ab4500-core.c
@@ -200,7 +200,8 @@ static void __exit ab4500_exit(void)
spi_unregister_driver(&ab4500_driver);
}
-subsys_initcall_sync(ab4500_init);
+subsys_initcall(ab4500_init);
+module_exit(ab4500_exit);
MODULE_AUTHOR("Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com");
MODULE_DESCRIPTION("AB4500 core driver");
OpenPOWER on IntegriCloud