aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8782.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8782.c')
-rw-r--r--sound/soc/codecs/wm8782.c12
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
66static int __init wm8782_init(void) 66module_platform_driver(wm8782_codec_driver);
67{
68 return platform_driver_register(&wm8782_codec_driver);
69}
70module_init(wm8782_init);
71
72static void __exit wm8782_exit(void)
73{
74 platform_driver_unregister(&wm8782_codec_driver);
75}
76module_exit(wm8782_exit);
77 67
78MODULE_DESCRIPTION("ASoC WM8782 driver"); 68MODULE_DESCRIPTION("ASoC WM8782 driver");
79MODULE_AUTHOR("Johannes Stezenbach <js@sig21.net>"); 69MODULE_AUTHOR("Johannes Stezenbach <js@sig21.net>");