aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab3100-otp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/ab3100-otp.c')
-rw-r--r--drivers/mfd/ab3100-otp.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/mfd/ab3100-otp.c b/drivers/mfd/ab3100-otp.c
index 8440010eb2b8..d7ce016029fa 100644
--- a/drivers/mfd/ab3100-otp.c
+++ b/drivers/mfd/ab3100-otp.c
@@ -248,19 +248,7 @@ static struct platform_driver ab3100_otp_driver = {
248 .remove = __exit_p(ab3100_otp_remove), 248 .remove = __exit_p(ab3100_otp_remove),
249}; 249};
250 250
251static int __init ab3100_otp_init(void) 251module_platform_driver_probe(ab3100_otp_driver, ab3100_otp_probe);
252{
253 return platform_driver_probe(&ab3100_otp_driver,
254 ab3100_otp_probe);
255}
256
257static void __exit ab3100_otp_exit(void)
258{
259 platform_driver_unregister(&ab3100_otp_driver);
260}
261
262module_init(ab3100_otp_init);
263module_exit(ab3100_otp_exit);
264 252
265MODULE_AUTHOR("Linus Walleij <linus.walleij@stericsson.com>"); 253MODULE_AUTHOR("Linus Walleij <linus.walleij@stericsson.com>");
266MODULE_DESCRIPTION("AB3100 OTP Readout Driver"); 254MODULE_DESCRIPTION("AB3100 OTP Readout Driver");