diff options
Diffstat (limited to 'drivers/mfd/twl4030-madc.c')
-rw-r--r-- | drivers/mfd/twl4030-madc.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c index 834f824d3c11..456ecb5ac4fe 100644 --- a/drivers/mfd/twl4030-madc.c +++ b/drivers/mfd/twl4030-madc.c | |||
@@ -807,19 +807,7 @@ static struct platform_driver twl4030_madc_driver = { | |||
807 | }, | 807 | }, |
808 | }; | 808 | }; |
809 | 809 | ||
810 | static int __init twl4030_madc_init(void) | 810 | module_platform_driver(twl4030_madc_driver); |
811 | { | ||
812 | return platform_driver_register(&twl4030_madc_driver); | ||
813 | } | ||
814 | |||
815 | module_init(twl4030_madc_init); | ||
816 | |||
817 | static void __exit twl4030_madc_exit(void) | ||
818 | { | ||
819 | platform_driver_unregister(&twl4030_madc_driver); | ||
820 | } | ||
821 | |||
822 | module_exit(twl4030_madc_exit); | ||
823 | 811 | ||
824 | MODULE_DESCRIPTION("TWL4030 ADC driver"); | 812 | MODULE_DESCRIPTION("TWL4030 ADC driver"); |
825 | MODULE_LICENSE("GPL"); | 813 | MODULE_LICENSE("GPL"); |