diff options
Diffstat (limited to 'sound/soc/codecs/wm8782.c')
-rw-r--r-- | sound/soc/codecs/wm8782.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/wm8782.c b/sound/soc/codecs/wm8782.c index f2ced71328b..3fdea98f732 100644 --- a/sound/soc/codecs/wm8782.c +++ b/sound/soc/codecs/wm8782.c | |||
@@ -63,17 +63,7 @@ static struct platform_driver wm8782_codec_driver = { | |||
63 | .remove = __devexit_p(wm8782_remove), | 63 | .remove = __devexit_p(wm8782_remove), |
64 | }; | 64 | }; |
65 | 65 | ||
66 | static int __init wm8782_init(void) | 66 | module_platform_driver(wm8782_codec_driver); |
67 | { | ||
68 | return platform_driver_register(&wm8782_codec_driver); | ||
69 | } | ||
70 | module_init(wm8782_init); | ||
71 | |||
72 | static void __exit wm8782_exit(void) | ||
73 | { | ||
74 | platform_driver_unregister(&wm8782_codec_driver); | ||
75 | } | ||
76 | module_exit(wm8782_exit); | ||
77 | 67 | ||
78 | MODULE_DESCRIPTION("ASoC WM8782 driver"); | 68 | MODULE_DESCRIPTION("ASoC WM8782 driver"); |
79 | MODULE_AUTHOR("Johannes Stezenbach <js@sig21.net>"); | 69 | MODULE_AUTHOR("Johannes Stezenbach <js@sig21.net>"); |