diff options
Diffstat (limited to 'drivers/mfd/twl6040-core.c')
-rw-r--r-- | drivers/mfd/twl6040-core.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/mfd/twl6040-core.c b/drivers/mfd/twl6040-core.c index 268f80fd0439..7f06685187f4 100644 --- a/drivers/mfd/twl6040-core.c +++ b/drivers/mfd/twl6040-core.c | |||
@@ -619,18 +619,7 @@ static struct platform_driver twl6040_driver = { | |||
619 | }, | 619 | }, |
620 | }; | 620 | }; |
621 | 621 | ||
622 | static int __devinit twl6040_init(void) | 622 | module_platform_driver(twl6040_driver); |
623 | { | ||
624 | return platform_driver_register(&twl6040_driver); | ||
625 | } | ||
626 | module_init(twl6040_init); | ||
627 | |||
628 | static void __devexit twl6040_exit(void) | ||
629 | { | ||
630 | platform_driver_unregister(&twl6040_driver); | ||
631 | } | ||
632 | |||
633 | module_exit(twl6040_exit); | ||
634 | 623 | ||
635 | MODULE_DESCRIPTION("TWL6040 MFD"); | 624 | MODULE_DESCRIPTION("TWL6040 MFD"); |
636 | MODULE_AUTHOR("Misael Lopez Cruz <misael.lopez@ti.com>"); | 625 | MODULE_AUTHOR("Misael Lopez Cruz <misael.lopez@ti.com>"); |