diff options
Diffstat (limited to 'drivers/mfd/ti-ssp.c')
-rw-r--r-- | drivers/mfd/ti-ssp.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/mfd/ti-ssp.c b/drivers/mfd/ti-ssp.c index af9ab0e5ca64..4fb0e6c8e8fe 100644 --- a/drivers/mfd/ti-ssp.c +++ b/drivers/mfd/ti-ssp.c | |||
@@ -458,17 +458,7 @@ static struct platform_driver ti_ssp_driver = { | |||
458 | } | 458 | } |
459 | }; | 459 | }; |
460 | 460 | ||
461 | static int __init ti_ssp_init(void) | 461 | module_platform_driver(ti_ssp_driver); |
462 | { | ||
463 | return platform_driver_register(&ti_ssp_driver); | ||
464 | } | ||
465 | module_init(ti_ssp_init); | ||
466 | |||
467 | static void __exit ti_ssp_exit(void) | ||
468 | { | ||
469 | platform_driver_unregister(&ti_ssp_driver); | ||
470 | } | ||
471 | module_exit(ti_ssp_exit); | ||
472 | 462 | ||
473 | MODULE_DESCRIPTION("Sequencer Serial Port (SSP) Driver"); | 463 | MODULE_DESCRIPTION("Sequencer Serial Port (SSP) Driver"); |
474 | MODULE_AUTHOR("Cyril Chemparathy"); | 464 | MODULE_AUTHOR("Cyril Chemparathy"); |