diff options
Diffstat (limited to 'drivers/mfd/intel_msic.c')
-rw-r--r-- | drivers/mfd/intel_msic.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c index 97c27762174f..b76657eb0c51 100644 --- a/drivers/mfd/intel_msic.c +++ b/drivers/mfd/intel_msic.c | |||
@@ -485,17 +485,7 @@ static struct platform_driver intel_msic_driver = { | |||
485 | }, | 485 | }, |
486 | }; | 486 | }; |
487 | 487 | ||
488 | static int __init intel_msic_init(void) | 488 | module_platform_driver(intel_msic_driver); |
489 | { | ||
490 | return platform_driver_register(&intel_msic_driver); | ||
491 | } | ||
492 | module_init(intel_msic_init); | ||
493 | |||
494 | static void __exit intel_msic_exit(void) | ||
495 | { | ||
496 | platform_driver_unregister(&intel_msic_driver); | ||
497 | } | ||
498 | module_exit(intel_msic_exit); | ||
499 | 489 | ||
500 | MODULE_DESCRIPTION("Driver for Intel MSIC"); | 490 | MODULE_DESCRIPTION("Driver for Intel MSIC"); |
501 | MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>"); | 491 | MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>"); |