diff options
Diffstat (limited to 'drivers/mfd/t7l66xb.c')
-rw-r--r-- | drivers/mfd/t7l66xb.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c index 91ad21ef7721..2d9e8799e733 100644 --- a/drivers/mfd/t7l66xb.c +++ b/drivers/mfd/t7l66xb.c | |||
@@ -442,21 +442,7 @@ static struct platform_driver t7l66xb_platform_driver = { | |||
442 | 442 | ||
443 | /*--------------------------------------------------------------------------*/ | 443 | /*--------------------------------------------------------------------------*/ |
444 | 444 | ||
445 | static int __init t7l66xb_init(void) | 445 | module_platform_driver(t7l66xb_platform_driver); |
446 | { | ||
447 | int retval = 0; | ||
448 | |||
449 | retval = platform_driver_register(&t7l66xb_platform_driver); | ||
450 | return retval; | ||
451 | } | ||
452 | |||
453 | static void __exit t7l66xb_exit(void) | ||
454 | { | ||
455 | platform_driver_unregister(&t7l66xb_platform_driver); | ||
456 | } | ||
457 | |||
458 | module_init(t7l66xb_init); | ||
459 | module_exit(t7l66xb_exit); | ||
460 | 446 | ||
461 | MODULE_DESCRIPTION("Toshiba T7L66XB core driver"); | 447 | MODULE_DESCRIPTION("Toshiba T7L66XB core driver"); |
462 | MODULE_LICENSE("GPL v2"); | 448 | MODULE_LICENSE("GPL v2"); |