diff options
Diffstat (limited to 'sound/soc/codecs/wm9712.c')
-rw-r--r-- | sound/soc/codecs/wm9712.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index fd1812704af8..4ce73f59df20 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c | |||
@@ -694,17 +694,7 @@ static struct platform_driver wm9712_codec_driver = { | |||
694 | .remove = __devexit_p(wm9712_remove), | 694 | .remove = __devexit_p(wm9712_remove), |
695 | }; | 695 | }; |
696 | 696 | ||
697 | static int __init wm9712_init(void) | 697 | module_platform_driver(wm9712_codec_driver); |
698 | { | ||
699 | return platform_driver_register(&wm9712_codec_driver); | ||
700 | } | ||
701 | module_init(wm9712_init); | ||
702 | |||
703 | static void __exit wm9712_exit(void) | ||
704 | { | ||
705 | platform_driver_unregister(&wm9712_codec_driver); | ||
706 | } | ||
707 | module_exit(wm9712_exit); | ||
708 | 698 | ||
709 | MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver"); | 699 | MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver"); |
710 | MODULE_AUTHOR("Liam Girdwood"); | 700 | MODULE_AUTHOR("Liam Girdwood"); |