diff options
Diffstat (limited to 'sound/soc/codecs/wl1273.c')
-rw-r--r-- | sound/soc/codecs/wl1273.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c index 9531c35dccad..44aacf927ba9 100644 --- a/sound/soc/codecs/wl1273.c +++ b/sound/soc/codecs/wl1273.c | |||
@@ -510,17 +510,7 @@ static struct platform_driver wl1273_platform_driver = { | |||
510 | .remove = __devexit_p(wl1273_platform_remove), | 510 | .remove = __devexit_p(wl1273_platform_remove), |
511 | }; | 511 | }; |
512 | 512 | ||
513 | static int __init wl1273_init(void) | 513 | module_platform_driver(wl1273_platform_driver); |
514 | { | ||
515 | return platform_driver_register(&wl1273_platform_driver); | ||
516 | } | ||
517 | module_init(wl1273_init); | ||
518 | |||
519 | static void __exit wl1273_exit(void) | ||
520 | { | ||
521 | platform_driver_unregister(&wl1273_platform_driver); | ||
522 | } | ||
523 | module_exit(wl1273_exit); | ||
524 | 514 | ||
525 | MODULE_AUTHOR("Matti Aaltonen <matti.j.aaltonen@nokia.com>"); | 515 | MODULE_AUTHOR("Matti Aaltonen <matti.j.aaltonen@nokia.com>"); |
526 | MODULE_DESCRIPTION("ASoC WL1273 codec driver"); | 516 | MODULE_DESCRIPTION("ASoC WL1273 codec driver"); |