aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ads117x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/ads117x.c')
-rw-r--r--sound/soc/codecs/ads117x.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/ads117x.c b/sound/soc/codecs/ads117x.c
index 9082e0f729f3..8103b938b8c0 100644
--- a/sound/soc/codecs/ads117x.c
+++ b/sound/soc/codecs/ads117x.c
@@ -58,17 +58,7 @@ static struct platform_driver ads117x_codec_driver = {
58 .remove = __devexit_p(ads117x_remove), 58 .remove = __devexit_p(ads117x_remove),
59}; 59};
60 60
61static int __init ads117x_init(void) 61module_platform_driver(ads117x_codec_driver);
62{
63 return platform_driver_register(&ads117x_codec_driver);
64}
65module_init(ads117x_init);
66
67static void __exit ads117x_exit(void)
68{
69 platform_driver_unregister(&ads117x_codec_driver);
70}
71module_exit(ads117x_exit);
72 62
73MODULE_DESCRIPTION("ASoC ads117x driver"); 63MODULE_DESCRIPTION("ASoC ads117x driver");
74MODULE_AUTHOR("Graeme Gregory"); 64MODULE_AUTHOR("Graeme Gregory");