aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm3008.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/pcm3008.c')
-rw-r--r--sound/soc/codecs/pcm3008.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/pcm3008.c b/sound/soc/codecs/pcm3008.c
index f7316519432c..b12d01f67990 100644
--- a/sound/soc/codecs/pcm3008.c
+++ b/sound/soc/codecs/pcm3008.c
@@ -172,17 +172,7 @@ static struct platform_driver pcm3008_codec_driver = {
172 }, 172 },
173}; 173};
174 174
175static int __init pcm3008_modinit(void) 175module_platform_driver(pcm3008_codec_driver);
176{
177 return platform_driver_register(&pcm3008_codec_driver);
178}
179module_init(pcm3008_modinit);
180
181static void __exit pcm3008_exit(void)
182{
183 platform_driver_unregister(&pcm3008_codec_driver);
184}
185module_exit(pcm3008_exit);
186 176
187MODULE_DESCRIPTION("Soc PCM3008 driver"); 177MODULE_DESCRIPTION("Soc PCM3008 driver");
188MODULE_AUTHOR("Hugo Villeneuve"); 178MODULE_AUTHOR("Hugo Villeneuve");